public SessionFactory getSessionFactory() {
        return sessionFactory;
    }
@Test
    void hasASessionFactory() throws Exception {
        assertThat(healthCheck().getSessionFactory())
                .isEqualTo(factory);
    }