OperationStepHandler twoHandler = rootRegistration.getOperationHandler(PathAddress.EMPTY_ADDRESS, "two");
assertSame(TestHandler.TWO, twoHandler);
}
@Test
public void testHandlersOnChildResource() throws Exception {
<BUG>ManagementResourceRegistration child = rootRegistration.registerSubModel(childElement, new TestDescriptionProvider("child"));

child.registerOperationHandler("one", TestHandler.ONE, new TestDescriptionProvider("one"));
child.registerOperationHandler("two", TestHandler.TWO, new TestDescriptionProvider("two"), false,
OperationEntry.EntryType.PUBLIC, EnumSet.of(OperationEntry.Flag.READ_ONLY));</BUG>
OperationStepHandler oneHandler = child.getOperationHandler(PathAddress.EMPTY_ADDRESS, "one");

OperationStepHandler twoHandler = rootRegistration.getOperationHandler(PathAddress.EMPTY_ADDRESS, "two");
assertSame(TestHandler.TWO, twoHandler);
}
@Test
public void testHandlersOnChildResource() throws Exception {
ManagementResourceRegistration child = rootRegistration.registerSubModel(new SimpleResourceDefinition(childElement, new NonResolvingResourceDescriptionResolver()));
child.registerOperationHandler(getOpDef("one"), TestHandler.ONE);
child.registerOperationHandler(getOpDef("two", OperationEntry.Flag.READ_ONLY), TestHandler.TWO);
OperationStepHandler oneHandler = child.getOperationHandler(PathAddress.EMPTY_ADDRESS, "one");
