@Test
public void extractFromMap_shouldReturnValidAdConfiguration() throws Exception {

    Map<String, Object> map = new HashMap<String, Object>();
    map.put(AdFetcher.AD_CONFIGURATION_KEY, subject);
    AdConfiguration returnValue = AdConfiguration.extractFromMap(map);
    assertThat(returnValue).isEqualTo(subject);
}