@Test
public void testRegistryDataSetDef() throws Exception {

    dataSetDefRegistry.registerDataSetDef(dataSetDef);
    verify(getIOService()).write(any(Path.class), anyString());
    verify(dataSetDefRegisteredEvent).fire(any(DataSetDefRegisteredEvent.class));
}