@Test
public void createsInstanceAndUsesFirstValueFromMap() throws Exception {

    MultivaluedMap<String, String> values = new MultivaluedMapImpl();
    values.addAll("number", "2147483647", "746384741");
    Object result = producer.createValue("number", values, null);
    assertEquals(new Integer("2147483647"), result);
}