@Test
public void testIsTarget() {

    replay(request, applicationContext);
    assertFalse(factory.isTarget("header"));
    assertTrue(factory.isTarget("requestScope"));
    assertTrue(factory.isTarget("applicationScope"));
    assertFalse(factory.isTarget("blah"));
    verify(request, applicationContext);
}