Comment by YeGoblynQueenne
8 years ago
The problem with TDD is that a dedicated developer can always make a test pass- the how is another matter.
8 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!