Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
RockingGoodNite
· 4y ago · 0 comments
static should be removed from Java. static is bad, not always but because it can be misused and because it makes debugging more difficult and most important of all, it makes testing impossible and PowerMock is to be avoided at all costs.
Comments
[–]
ahtihn
4y ago
Right, methods that call Math.min() are literally untestable without PowerMock.