assertFalse("gotoNextSentence(): succeeded", bSuccess);
// FIXME:
// the sentence cursor seems to work differently than the word cursor
xText.setString("This is a sentence. Another sentence. Sentence 3.");
xTextCursor.gotoEnd(false);
bSuccess = xSentenceCursor.gotoPreviousSentence(true);
assertTrue("gotoPreviousSentence(): failed", bSuccess);
{
String string = xTextCursor.getString();
assertEquals("gotoPreviousSentence(): wrong string",
"Another sentence. Sentence 3.", string);