@UseDataProvider("testData")
@Test
public void createsPrimitiveValue(Class<?> primitiveTypeWrapper,
                                  MultivaluedMap<String, String> values,
                                  String defaultValue,
                                  Object expected) throws Exception {

    PrimitiveTypeProducer producer = new PrimitiveTypeProducer(primitiveTypeWrapper);
    Object result = producer.createValue("value", values, defaultValue);
    assertEquals(expected, result);
}