### Question:
SessionDaoAdapter implements Dao<Object>, Locator, Queryable, Flushable { public void flush() { session.flush(); } SessionDaoAdapter(final Session session); void flush(); Object update(final Object entity); Object insert(final Object entity); Object delete(Object entity); Object lookup(final String name, final Object ... parameters); Object lookup(final String name, final Map<String, ?> parameters); Object lookupByQuery(final String query, final Object ... parameters); Object lookupByQuery(final String query,
			final Map<String, ?> parameters); Session getSession();  }### Answer:
@Test(groups = "unit") public void test_flush() { adapter.flush(); verify(session).flush(); }