I worte the following piece a while ago for a webzine but it never got published, so here it is. A new website which tracks users' download habits in file sharing networks was announced this week sending shock waves through the Matrix for its potential of revealing highly sensitive private data, stirring once more … Continue reading A view of youhavedownloaded.com
Month: Jul 2012
Compact mockito: shorter answer notation
[Update 2014.10.08] The code is now on github. If you value brevity in tests like I do then maybe you would agree that mockito's doAnswer statements contain much boilerplate. That is certainly not mockito's fault but rather a result of java's inflexible syntax. When testing, i.e. GWT code one will frequently find the need to … Continue reading Compact mockito: shorter answer notation