@Test
public void returnsNullWhenMapDoesNotContainRequiredValueAndDefaultValueIsNull() throws Exception {

    MultivaluedMap<String, String> values = new MultivaluedMapImpl();
    Object result = producer.createValue("foo", values, null);
    assertNull(result);
}