@Test
public void testIsResolveable() {

    expect(factory.isTarget("whatever")).andReturn(true);
    replay(factory, request, applicationContext);
    assertTrue(factory.isResolveable("whatever"));
    verify(factory, request, applicationContext);
}