@Test(dependsOnMethods="testCreate")
public void testDelete() {

    metadata.commit(() -> {
        this.connectorProvider.deleteById(this.testId);
    }, MetadataAccess.SERVICE);
    
    metadata.read(() -> {
        Optional<Connector> conn = this.connectorProvider.find(this.testId);
        
        assertThat(conn).isNotNull().isNotPresent();
    }, MetadataAccess.SERVICE);
}