@Test
public void testOffsetInsideInstancesWithComponentPropertiesAndPrefixAndWithInheritance() throws Exception {

	// Expected: "f" variables
	Map<String,String> expected = new LinkedHashMap<> ();
	expected.put( "f1.v1: ", CompletionUtils.DEFAULT_VALUE + "version1" );
	expected.put( "f1.v2: ", CompletionUtils.DEFAULT_VALUE + "version2" );
	Couple couple = prepare( "app3", "initial.instances", 135 );
	couple.text += " F";
	List<RoboconfCompletionProposal> proposals = couple.proposer.findProposals( couple.text );
	Assert.assertEquals( expected.size(), proposals.size());
	int index = 0;
	for( Map.Entry<String,String> entry : expected.entrySet()) {
		Assert.assertEquals( entry.getKey(), proposals.get( index ).getProposalName());
		Assert.assertEquals( entry.getKey(), proposals.get( index ).getProposalString());
		Assert.assertEquals( entry.getValue(), proposals.get( index ).getProposalDescription());
		Assert.assertEquals( 1, proposals.get( index ).getReplacementOffset());
		index ++;
	}
}