infinite / mockito-flex

0 stars 0 forks source link

Method stubbing does not work in async tests #40

Open infinite opened 10 years ago

infinite commented 10 years ago

When i'm trying to stub some method call to return some value, it does not work in async tests. When i mock the object, then i push it to tested object, then i'm stubbing some mock method and in tested object i'm trying to call stubbed method and get stub value from it, but it returns null. Should stubs work in async tests?