assertEquals("gotoPreviousSentence(): wrong string",
"Another sentence. Sentence 3.", string);
}
bSuccess = xSentenceCursor.gotoPreviousSentence(false);
assertFalse("gotoPreviousSentence(): succeeded", bSuccess);
bSuccess = xSentenceCursor.gotoEndOfSentence(true);
assertTrue("gotoEndOfSentence(): failed", bSuccess);
{
String string = xTextCursor.getString();
assertEquals("gotoEndOfSentence(): wrong string",
"This is a sentence.", string);