@Test
  public void whenFromClassThenTheSourceIsSetToTheSameTypeAndName() {
    context.from(Date.class);
    CallSource source = context.getConfiguredCallSource();

    assertSame(Date.class, source.getType());
    assertEquals(Date.class.getName(), source.getName());
  }
 @Test
 public void whenFromSourceThenTheSameSourceIsReturned() {
   CallSource specifiedSource = mock(CallSource.class);
   context.from(specifiedSource);
   assertSame(specifiedSource, context.getConfiguredCallSource());
 }