@Test
  public void shouldAcceptCalendar() {
    directive.setTargetClass(Calendar.class);
    assertTrue(byGetInstance.isApplicable(directive));

    directive.setTargetClass(String.class);
    assertFalse(byGetInstance.isApplicable(directive));
  }
 @Test
 public void shouldCreateByGetInstance() {
   directive.setTargetClass(Calendar.class);
   Calendar result = (Calendar) byGetInstance.create(directive);
   assertNotNull(result);
 }