/** test the construction of the object in the ApplicationContext */ public final void testObjectConstruction() { // get a member from the application context Address address = CoreObjectFactory.getAddress(); assertEquals("City", null, address.getCity()); assertEquals("Country", null, address.getCountry()); assertEquals("PostalCode", null, address.getPostalCode()); assertEquals("StreetName", null, address.getStreetName()); assertEquals("StreetNumber", null, address.getStreetNumber()); }
/* * @see TestCase#setUp() */ protected void setUp() throws Exception { super.setUp(); address = CoreObjectFactory.getAddress(); }