@Override
    public void refreshPackages() {
        throw newException();
    }
@Test
    void require_that_refreshPackages_throws_exception() {
        assertThrows(RuntimeException.class, () -> {
            new DisableOsgiFramework().refreshPackages();
        });
    }