News for hackers. Stuff that matters.
Re:Ask HN: What's the largest amount of bad code you have ev... by celvro on Wednesday November 14, 2018 @04:13PM (#18454019)
when(mockObject.getVar()).thenReturn(1); assertEquals(1, mockObject.getVar());

test passes boss!

There are no comments on this comment yet.