}
@DataProvider
public Object[][] updateData() throws NumberFormatException, MalformedURLException {
Object [][] entities = new Object[][]{
{new TestEntity(), "shortType", (short) 0, (short) 77},
{new TestEntity(), "intType", 0, 77},
{new TestEntity(), "longType", (long) 0, (long) 77},
{new TestEntity(), "doubleType", (double) 0, (double) 77},
{new TestEntity(), "floatType", (float) 0, (float) 77},
{new TestEntity(), "charType", 'A', '7'},
{new TestEntity(), "shortObject", Short.valueOf((short) 0), Short.valueOf((short) 77)},
{new TestEntity(), "integerObject", Integer.valueOf(0), Integer.valueOf(77)},
{new TestEntity(), "longObject", Long.valueOf(0), Long.valueOf(77)},
{new TestEntity(), "doubleObject", new Double(0), new Double(77)},
{new TestEntity(), "floatObject", new Float(0), new Float(77)},
{new TestEntity(), "characterObject", 'A', '7'},
{new TestEntity(), "bigDecimalObject", new BigDecimal(0), new BigDecimal(77)},
{new TestEntity(), "bigIntegerObject", BigInteger.valueOf(0), BigInteger.valueOf(77)},
{new TestEntity(), "percent", 0, (77)},
{new TestEntity(), "stringObject", "0", "77"},
{new TestEntity(), "phone", "415-123-0000", "415-123-0007"},
{new TestEntity(), "email", "0foobar@salesforce.com", "77foobar@salesforce.com"},
{new TestEntity(), "url", new URL("http://localhost:0000"), new URL("http://localhost:7000")},
{new TestEntity(), "characterObject", 'A', '7'},
{new TestEntity(), "booleanObject", Boolean.TRUE, Boolean.FALSE},
{new ParentTestEntity(), "name", "parent entity", "updated name"},
};
return entities;
}