@Test public void getUniversityAfterUpdateTest() { LOGGER.debug("getUniversityTest()"); University university = universityService.get("htwkLeipzig"); LOGGER.debug("and the university is {}", university.toString()); Assert.assertNotNull(university); }
@Test public void updateUniversityTest() { LOGGER.debug("updateUniversityTest()"); University university = universityService.get("htwkLeipzig"); Assert.assertNotNull(university); LOGGER.debug("change the lastname for updating {}", university.toString()); university.setStreet("doch nicht dahinten"); LOGGER.debug("the lastname is {}", university.getStreet()); Assert.assertEquals(true, universityService.updateUniversity(university)); }
@Test public void getUniversityTest() { LOGGER.debug("getUniversityTest()"); University university = universityService.get("htwkLeipzig"); Assert.assertNotNull(university); }