{
BehaviorEntry source;
Collection<EntryReference<BehaviorEntry,BehaviorEntry>> references;
// baseClass constructor
source = new ConstructorEntry( m_baseClass, "(Ljava/lang/String;)V" );
references = m_index.getBehaviorReferences( source );
assertThat( references, containsInAnyOrder(
newBehaviorReferenceByConstructor( source, m_subClassA.getName(), "(Ljava/lang/String;)V" ),
newBehaviorReferenceByConstructor( source, m_subClassB.getName(), "()V" )
) );
// subClassA constructor
source = new ConstructorEntry( m_subClassA, "(Ljava/lang/String;)V" );
references = m_index.getBehaviorReferences( source );
assertThat( references, containsInAnyOrder(
newBehaviorReferenceByConstructor( source, m_subClassAA.getName(), "()V" )
) );