@Test
public void testAddingStringToFullLog() {

  testAddingStringThatIsTooLong();
  final String currentText = logTextArea.getText();
  logTextArea.addLineToLog("More logged text");
  assertEquals("This text should not be appended as the log is full", currentText, logTextArea
      .getText());
}