String string = xTextCursor.getString();
assure("gotoEndOfSentence(): wrong string: " + string,
"This is a sentence.".equals(string));
}
xTextCursor.gotoEnd(false);
bSuccess = xSentenceCursor.gotoStartOfSentence(true);
assure("gotoStartOfSentence(): failed", bSuccess);
{
String string = xTextCursor.getString();
assure("gotoStartOfSentence(): wrong string: " + string,
"Sentence 3.".equals(string));