Mockito to return different results on different calls

24 May 2013

profile.count(any) returns Future.Nil thenReturn Future.Nil

It's that simple

Give it a kudos