Comment by YeGoblynQueenne
6 years ago
The problem with TDD is that a dedicated developer can always make a test pass- the how is another matter.
6 years ago
The problem with TDD is that a dedicated developer can always make a test pass- the how is another matter.
when(mockObject.getVar()).thenReturn(1); assertEquals(1, mockObject.getVar());
test passes boss!