@Test
public void testAddTwoLines() {

  final String firstLine = "First Line Of Text";
  final String secondLine = "Second line of text";
  logTextArea.addLineToLog(firstLine);
  logTextArea.addLineToLog(secondLine);
  assertEquals("Second line wasn't added", firstLine + "\n" + secondLine + "\n", logTextArea
      .getText());
}