assertSame(matcher.findMatch(template1), updatedDef,
"The matching metric template should have found the defined measurement definition");
assertSame(matcher.findMatch(template2), notUpdatedDef,
"The matching metric template should have found the defined measurement definition");
importer.update(updatedDef, template1);
importer.update(notUpdatedDef, template2);
//this should invoke the mocked measurement schedule manager and the expectations should check it gets called
//correctly by the importer.
importer.finishImport();