@Test
@SuppressWarnings( "unchecked" )
public void fieldReferences( )
{
FieldEntry source = newField( "none/a", "a" );
Collection<EntryReference<FieldEntry,BehaviorEntry>> references = m_index.getFieldReferences( source );
assertThat( references, containsInAnyOrder(
newFieldReferenceByConstructor( source, "none/a", "(Ljava/lang/String;)V" ),
newFieldReferenceByMethod( source, "none/a", "a", "()Ljava/lang/String;" )
) );