Matt Reid | Senior Software Developer

Matthew Reid is a software developer and web developer, specialising in Java and JVM, NodeJs and web frameworks. He has a passion for entrepreneurship, company culture and making the world a better place.

Mockito provides a nice way to capture the arguments passed into your mocks. This works a treat when verifying the contents of an email send via a mocked JavaMailSender

Just a quick one that I forgot to note down. If you want to count rows using a hibernate query, here is the bit of magic that you need.

getWebView().setWebViewClient(new TwitterOAuthWebViewClient());I have been using the excellent Spring Android for interaction with an api for an app I am developing at work. The spring-android-showcase project has been excellent in helping me breeze through development.