@Test public void testGetSelectionLength() { Assert.assertTrue( "GetSelectionLength() - Return start doesn't the selection start", engine.getSelectionLength() == 0); selection.setLength(1); Assert.assertTrue( "GetSelectionLength() - Return start doesn't the selection start", engine.getSelectionLength() == 1); }