Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
YeGoblynQueenne
· 8y ago · 0 comments
The problem with TDD is that a dedicated developer can always make a test pass- the how is another matter.
Comments
[–]
celvro
8y ago
when(mockObject.getVar()).thenReturn(1); assertEquals(1, mockObject.getVar());
test passes boss!