@Test
public void resolve_strategyReturnsInstance_instanceReturnedWithReturnValue() {

    // given
    ResolveStrategy strategy = mockStrategy();
    SagaInstanceInfo instanceInfo = new SagaInstanceInfo(null, true);
    when(strategy.resolve(any())).thenReturn(Lists.newArrayList(instanceInfo));
    // when
    Collection<SagaInstanceInfo> instances = sut.resolve(mock(LookupContext.class));
    // then
    assertThat("Expected instance in result set.", instances, hasItem(instanceInfo));
}