Re: [akka-user] Re: TestActorRef with TypedActor

2015-01-30 Thread Wojciech Pituła
version of Mockito (1.8.5 or newer) with support for > verification with timeouts to test asynchronous method invocations. > > B/ > > On 26 January 2015 at 21:45:06, Wojciech Pituła (w.pi...@gmail.com > ) wrote: > > Here is simple example: > >

[akka-user] Re: TestActorRef with TypedActor

2015-01-26 Thread Wojciech Pituła
override protected def afterAll(): Unit = actorSystem.shutdown() } W dniu niedziela, 25 stycznia 2015 14:07:43 UTC+1 użytkownik Wojciech Pituła napisał: > > Is there any way of using TestActorRef with TypedActors ? Or any other way > of testing TypedActors with mocks? > > My problem is that

[akka-user] TestActorRef with TypedActor

2015-01-25 Thread Wojciech Pituła
Is there any way of using TestActorRef with TypedActors ? Or any other way of testing TypedActors with mocks? My problem is that with TestActorRef I can use Mockito and verify() works fine. When using TypedActor with CallingThreadDispatcher verify() works nondeterministic. -- >>