@Override
    public boolean isSupport(URL address) {
        return dubboCertManager != null && dubboCertManager.isConnected();
    }
@Test
    void testEnable() {
        AtomicReference<DubboCertManager> reference = new AtomicReference<>();
        try (MockedConstruction<DubboCertManager> construction =
                Mockito.mockConstruction(DubboCertManager.class, (mock, context) -> {
                    reference.set(mock);
                })) {
            FrameworkModel frameworkModel = new FrameworkModel();
            DubboCertProvider provider = new DubboCertProvider(frameworkModel);

            Mockito.when(reference.get().isConnected()).thenReturn(true);
            Assertions.assertTrue(provider.isSupport(null));

            Mockito.when(reference.get().isConnected()).thenReturn(false);
            Assertions.assertFalse(provider.isSupport(null));

            frameworkModel.destroy();
        }
    }