@Override
    public void stop() throws Exception {
        factory.close();
        dataSource.stop();
    }
@Test
    void stopsTheDataSourceOnStopping() throws Exception {
        manager.stop();

        verify(dataSource).stop();
    }