@Test
public void shouldReturnEmptyIfNoMappingFound() throws Exception {

    when(mediaTypesMappingCacheInitialiser.initialiseCache()).thenReturn(new HashMap<>());
    final Optional<MediaTypes> mediaTypes = defaultMediaTypesMappingCache.mediaTypesFor("some-unknown-action");
    assertThat(mediaTypes.isPresent(), is(false));
}