@Test
public void testOffsetInsideFacetBeginning() throws Exception {

	// Expected: facet, facet block
	Couple couple = prepare( "app1", "edited1.graph", 70 );
	couple.text += "\nfac";
	List<RoboconfCompletionProposal> proposals = couple.proposer.findProposals( couple.text );
	Assert.assertEquals( 2, proposals.size());
	Assert.assertEquals( KEYWORD_FACET, proposals.get( 0 ).getProposalName());
	Assert.assertEquals( FACET_PREFIX, proposals.get( 0 ).getProposalString());
	Assert.assertNull( proposals.get( 0 ).getProposalDescription());
	Assert.assertEquals( 3, proposals.get( 0 ).getReplacementOffset());
	Assert.assertEquals( FACET_BLOCK, proposals.get( 1 ).getProposalName());
	Assert.assertTrue( proposals.get( 1 ).getProposalString().startsWith( FACET_PREFIX ));
	Assert.assertTrue( proposals.get( 1 ).getProposalDescription().startsWith( FACET_BLOCK ));
	Assert.assertEquals( 3, proposals.get( 1 ).getReplacementOffset());
}