checkValidation_ANA(test.validateAttributes(SAMPLE_ATTRIBUTES), "name1");
checkValidation_ANA(test.validateAttributesUpdate(SAMPLE_ATTRIBUTES_UPDATE), "name1");
assertEquals(0, test.validateCharacters("abcd"));
assertNull(test.child("bad"));
SchemaPattern test_prologueTest = test.child("prologueTest");
Prologue test_prologueTest_prologue = test_prologueTest.prologue();
assertEquals(3, test_prologueTest_prologue.size());
assertEquals("element1", test_prologueTest_prologue.get(0).elementType());
assertEquals("element2", test_prologueTest_prologue.get(1).elementType());
assertEquals("element3", test_prologueTest_prologue.get(2).elementType());
SchemaPattern test_prologueTest_prologue0 = test_prologueTest_prologue.get(0).pattern();
assertEquals(0, test_prologueTest_prologue0.prologue().size());
checkValidation_ANA(test_prologueTest_prologue0.validateAttributes(SAMPLE_ATTRIBUTES), "name1");
checkValidation_ANA(test_prologueTest_prologue0.validateAttributesUpdate(
SAMPLE_ATTRIBUTES_UPDATE), "name1");
assertEquals(0, test_prologueTest_prologue0.validateCharacters("abcd"));
assertNull(test_prologueTest_prologue0.child("bad"));
SchemaPattern test_prologueTest_prologue1 = test_prologueTest_prologue.get(1).pattern();
checkEmptyPattern(test_prologueTest_prologue1);
SchemaPattern test_prologueTest_prologue2 = test_prologueTest_prologue.get(2).pattern();
Prologue test_prologueTest_prologue2_prologue = test_prologueTest_prologue2.prologue();
assertEquals(2, test_prologueTest_prologue2_prologue.size());
assertEquals("element7", test_prologueTest_prologue2_prologue.get(0).elementType());
assertEquals("element8", test_prologueTest_prologue2_prologue.get(1).elementType());
checkValidation_ANA(test_prologueTest_prologue2.validateAttributes(SAMPLE_ATTRIBUTES), "name1");
checkValidation_ANA(test_prologueTest_prologue2.validateAttributesUpdate(
SAMPLE_ATTRIBUTES_UPDATE), "name1");
assertEquals(0, test_prologueTest_prologue2.validateCharacters("abcd"));
assertNull(test_prologueTest_prologue2.child("bad"));
checkEmptyPattern(test_prologueTest_prologue0.child("element4"));
checkEmptyPattern(test_prologueTest_prologue2_prologue.get(0).pattern());
checkEmptyPattern(test_prologueTest_prologue2_prologue.get(1).pattern());
checkEmptyPattern(test_prologueTest_prologue2.child("element5"));
checkEmptyPattern(test_prologueTest_prologue2.child("element6"));
}