}
/*===== Specific methods =====*/
@Test
public void existsBannerShouldBeFoundByPosition() {
Banner banner = ObjectsFactory.getDefaultBanner();
banner.setPositionOnPage(BannerPosition.TOP);
session.save(banner);
session.flush();
session.evict(banner);
Banner bannerInDatabase = bannerDao.getByPosition(BannerPosition.TOP);
assertNotNull(bannerInDatabase, "Banner should be found by position, because it was saved.");
assertReflectionEquals(banner, bannerInDatabase);
}