question: public void testIsConsistentModelClass ( ) { SessionNode node1 = new SessionNode ( Type1 . class ) ; SessionNode node2 = new SessionNode ( Type2 . class ) ; SessionNode node3 = new SessionNode ( Type3 . class ) ; SessionNode node4 = new SessionNode ( new Class [ ] { Type1 . class , Type2 . class } ) ; SessionNode node6 = new SessionNode ( new Class [ ] { Type1 . class , Type2 . class , Type3 . class } ) ; SessionNode node7 = new SessionNode ( new Class [ ] { Type1 . class , Type4 . class } ) ; List parents = new ArrayList ( ) ; parents . add ( node1 ) ; parents . add ( node2 ) ; parents . add ( node3 ) ; parents . remove ( node1 ) ; parents . remove ( node2 ) ; parents . remove ( node3 ) ; parents . add ( node4 ) ; assertTrue ( node1 . isConsistentModelClass ( Type1 . class , parents , false ) ) ; parents . add ( node6 ) ; assertTrue ( node1 . isConsistentModelClass ( Type1 . class , parents , false ) ) ; parents . remove ( node6 ) ; parents . add ( node7 ) ; assertTrue ( ! node1 . isConsistentModelClass ( Type1 . class , parents , false ) ) ; }
target:  Tests whether model classes can identified correctly as consistent.