@Override
    public boolean deleteMaintenanceDomain(MdId mdName) throws CfmConfigException {
        log.info("Deleting MD {} from distributed store", mdName);
        return store.deleteMaintenanceDomain(mdName);
    }
@Test
    public void testDeleteMaintenanceDomain() {
        try {
            assertTrue(service.deleteMaintenanceDomain(
                    MdIdCharStr.asMdId("test-md-1")));
        } catch (CfmConfigException e) {
            fail("Should not have thrown exception: " + e.getMessage());
        }

        //Now try an invalid name
        try {
            assertFalse(service.deleteMaintenanceDomain(
                    MdIdCharStr.asMdId("test-md-3")));
        } catch (CfmConfigException e) {
            fail("Should not have thrown exception: " + e.getMessage());
        }
    }