@Test
public void createsInstanceAndUsesDefault() throws Exception {

    MultivaluedMap<String, String> values = new MultivaluedMapImpl();
    Object result = producer.createValue("number", values, "-777");
    assertEquals(new Integer("-777"), result);
}