@Test
public void shouldReturnTheSameDispatcherForTwoInjectionPoints() throws Exception {

    Dispatcher resultA = dispatcherCache.dispatcherFor(adaptorCommandApiInjectionPointA);
    Dispatcher resultB = dispatcherCache.dispatcherFor(adaptorCommandApiInjectionPointB);
    assertThat(resultA, is(sameInstance(resultB)));
}