@Test
public void testGetExcerptWhenAnchorHasParent() throws Exception {

	whenHttpURLToString(
		StringBundler.concat(
			"<body><p>Visit <a href='http://", _TARGET_URI,
			"'>Liferay</a> to learn more</p></body>"));
	execute();
	verifyExcerpt("Visit Liferay to learn more");
}