assertNotNull(twoFlags);
assertEquals(1, twoFlags.size());
}
@Test
public void testFlagsOnChildResource() throws Exception {
<BUG>ManagementResourceRegistration child = rootRegistration.registerSubModel(childElement, new TestDescriptionProvider("child"));

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

assertNotNull(twoFlags);
assertEquals(1, twoFlags.size());
}
@Test
public void testFlagsOnChildResource() throws Exception {
ManagementResourceRegistration child = rootRegistration.registerSubModel(new SimpleResourceDefinition(childElement, new NonResolvingResourceDescriptionResolver()));
child.registerOperationHandler(getOpDef("one"), TestHandler.INSTANCE);
child.registerOperationHandler(getOpDef("two", OperationEntry.Flag.READ_ONLY), TestHandler.INSTANCE, false);
Set<OperationEntry.Flag> oneFlags = child.getOperationFlags(PathAddress.EMPTY_ADDRESS, "one");
