@Test
public void testOffsetInsideInstancesWithComponentPropertiesAndPrefixAndWithoutInheritance() throws Exception {

	// Expected: "c2.ip", "channels:"
	Couple couple = prepare( "app3", "initial.instances", 61 );
	couple.text += "C";
	List<RoboconfCompletionProposal> proposals = couple.proposer.findProposals( couple.text );
	Assert.assertEquals( 2, proposals.size());
	Assert.assertEquals( "c2.ip: ", proposals.get( 0 ).getProposalName());
	Assert.assertEquals( "c2.ip: ", proposals.get( 0 ).getProposalString());
	Assert.assertEquals( CompletionUtils.SET_BY_ROBOCONF, proposals.get( 0 ).getProposalDescription());
	Assert.assertEquals( 1, proposals.get( 0 ).getReplacementOffset());
	Assert.assertEquals( PROPERTY_INSTANCE_CHANNELS + ": ", proposals.get( 1 ).getProposalName());
	Assert.assertEquals( PROPERTY_INSTANCE_CHANNELS + ": ", proposals.get( 1 ).getProposalString());
	Assert.assertNull( proposals.get( 1 ).getProposalDescription());
	Assert.assertEquals( 1, proposals.get( 1 ).getReplacementOffset());
}