@Test public void returnsNullWhenMapDoesNotContainRequiredValueAndDefaultValueIsNull() throws Exception { MultivaluedMap<String, String> values = new MultivaluedMapImpl(); Object result = producer.createValue("foo", values, null); assertNull(result); }
@Override protected Object createValue(String value) throws Exception { return value; }
StringProducer extends BaseTypeProducer { @Override protected Object createValue(String value) throws Exception { return value; } }
StringProducer extends BaseTypeProducer { @Override protected Object createValue(String value) throws Exception { return value; }  }
StringProducer extends BaseTypeProducer { @Override protected Object createValue(String value) throws Exception { return value; }   }
StringProducer extends BaseTypeProducer { @Override protected Object createValue(String value) throws Exception { return value; }    }