assertNotNull(choiceInContainerNode);
ChoiceSchemaNode choiceSchemaNode = (ChoiceSchemaNode) choiceInContainerNode;
+ assertFalse(choiceSchemaNode.isMandatory());
ConstraintDefinition choiceConstraints = choiceSchemaNode.getConstraints();
- assertFalse(choiceConstraints.isMandatory());
assertTrue(choiceConstraints.getMustConstraints().isEmpty());
}
assertNotNull(choiceInContainerNode);
ChoiceSchemaNode choiceSchemaNode = (ChoiceSchemaNode) choiceInContainerNode;
+ assertTrue(choiceSchemaNode.isMandatory());
ConstraintDefinition choiceConstraints = choiceSchemaNode.getConstraints();
- assertTrue(choiceConstraints.isMandatory());
assertTrue(choiceConstraints.getMustConstraints().isEmpty());
}