protected Session currentSession() {
        return sessionFactory.getCurrentSession();
    }
@Test
    void getsASessionFromTheSessionFactory() throws Exception {
        assertThat(dao.currentSession())
                .isSameAs(session);
    }