@Test
public void testOffsetForRootComponentNameWithGraphAndPrefix() throws Exception {

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