@Override
    public boolean matches(ConditionContext context, AnnotatedTypeMetadata metadata) {
        return DatasourceConfiguration.isEmbeddedStorage();
    }
@Test
    void testMatches() {
        MockedStatic<DatasourceConfiguration> mockedStatic = Mockito.mockStatic(DatasourceConfiguration.class);
        mockedStatic.when(DatasourceConfiguration::isEmbeddedStorage).thenReturn(true);
        assertTrue(conditionOnEmbeddedStorage.matches(context, metadata));
        
        mockedStatic.when(DatasourceConfiguration::isEmbeddedStorage).thenReturn(false);
        assertFalse(conditionOnEmbeddedStorage.matches(context, metadata));
        
        mockedStatic.close();
    }