m.lhs.length );
assertEquals( 1,
m.rhs.length );
ActionCallMethod actionCallMethod = (ActionCallMethod) m.rhs[ 0 ];
assertEquals( "testFunction",
actionCallMethod.getMethodName() );
assertEquals( "$t",
actionCallMethod.getVariable() );
assertEquals( 2,
actionCallMethod.getFieldValues().length );
assertEquals( "testFunction",
actionCallMethod.getFieldValue( 0 ).getField() );
assertEquals( "123",
actionCallMethod.getFieldValue( 0 ).getValue() );
assertEquals( FieldNatureType.TYPE_LITERAL,
actionCallMethod.getFieldValue( 0 ).getNature() );
assertEquals( "Integer",
actionCallMethod.getFieldValue( 0 ).getType() );
assertEquals( "testFunction",
actionCallMethod.getFieldValue( 1 ).getField() );
assertEquals( "hello",
actionCallMethod.getFieldValue( 1 ).getValue() );
assertEquals( FieldNatureType.TYPE_LITERAL,
actionCallMethod.getFieldValue( 1 ).getNature() );
assertEquals( "String",
actionCallMethod.getFieldValue( 1 ).getType() );
}