threeHandler = grandchild.getOperationHandler(PathAddress.EMPTY_ADDRESS, "three");
assertSame(TestHandler.PARENT, threeHandler);
}
@Test
public void testFlagsOnRootResource() throws Exception {
<BUG>rootRegistration.registerOperationHandler("one", TestHandler.INSTANCE, new TestDescriptionProvider("one"));

rootRegistration.registerOperationHandler("two", TestHandler.INSTANCE, new TestDescriptionProvider("two"), false,
OperationEntry.EntryType.PUBLIC, EnumSet.of(OperationEntry.Flag.READ_ONLY));</BUG>
Set<OperationEntry.Flag> oneFlags = rootRegistration.getOperationFlags(PathAddress.EMPTY_ADDRESS, "one");

threeHandler = grandchild.getOperationHandler(PathAddress.EMPTY_ADDRESS, "three");
assertSame(TestHandler.PARENT, threeHandler);
}
@Test
public void testFlagsOnRootResource() throws Exception {
rootRegistration.registerOperationHandler(getOpDef("one"), TestHandler.INSTANCE);
rootRegistration.registerOperationHandler(getOpDef("two", OperationEntry.Flag.READ_ONLY), TestHandler.INSTANCE, false);
Set<OperationEntry.Flag> oneFlags = rootRegistration.getOperationFlags(PathAddress.EMPTY_ADDRESS, "one");
