Well, then go ahead. The class is quite simple. The complex thing is that you need to create a stub with Mockito to get the if branch correctly tested.
Ulli Hafner
added a comment - Well, then go ahead. The class is quite simple. The complex thing is that you need to create a stub with Mockito to get the if branch correctly tested.
Are you still intending to work on this?