@Test
public void alpha_bravo_X_IS_recognized_for_start_a_end_o() {

	/* prepare */
	FormattedTextFinder finderToTest = new FormattedTextFinder("a","o");
	String text = "alpha bravo X";
	TestStringScanner scanner = new TestStringScanner(text);
	
	/* execute */
	boolean found = finderToTest.isFound(scanner);
	
	/* test */
	assertTrue(found);
	assertEquals(text.length()-2,scanner.pos);
	
}