@Test
public void shouldReturnEmptyIfNoMediaTypesFoundForTheActionName() throws Exception {

    final String actionName = "example.add-recipe";
    when(mediaTypesMappingCache.mediaTypesFor(actionName)).thenReturn(empty());
    assertThat(mediaTypeProvider.getRequestMediaType(actionName), is(empty()));
}