@Test public void idPropertyHasCorrectType() { if (SQLTestsConstants.db == DB.ORACLE) { assertEquals(container.getType(ID), BigDecimal.class); } else { assertEquals(container.getType(ID), Integer.class); } }
@Test public void nonExistingPropertyDoesNotHaveType() { assertThat(container.getType("adsf"), is(nullValue())); }
@Test public void namePropertyHasCorrectType() { assertEquals(container.getType(NAME), String.class); }