@Override
    public Optional<MaintenanceDomain> getMaintenanceDomain(MdId mdName) {
        log.debug("Retrieving MD {} from distributed store", mdName);
        return store.getMaintenanceDomain(mdName);
    }
@Test
    public void testGetMaintenanceDomain() {
        Optional<MaintenanceDomain> md =
                service.getMaintenanceDomain(MdIdCharStr.asMdId("test-md-1"));
        assertTrue(md.isPresent());

        assertEquals(1, md.get().mdNumericId());

        assertEquals(2, md.get().maintenanceAssociationList().size());



        //Now try an invalid name
        Optional<MaintenanceDomain> mdInvalid =
                service.getMaintenanceDomain(MdIdCharStr.asMdId("test-md-3"));
        assertFalse(mdInvalid.isPresent());
    }