Browse Source

Test2

remotes/origin/hotfix/client/improve-chat-window-appearence
Marc Dimmerling 11 months ago
parent
commit
c6ad0c4a2e
  1. 9
      src/test/java/NotizbuchTest.java

9
src/test/java/NotizbuchTest.java

@ -15,6 +15,15 @@ class NotizbuchTest {
assertEquals("Testnotiz\n", notizbuch.textArea.getText());
}
@Test
public void testSpeichernMitLeererNotiz() {
Notizbuch notizbuch = new Notizbuch();
notizbuch.textArea.setText("");
notizbuch.saveNote();
assertEquals("", notizbuch.textArea.getText());
}

Loading…
Cancel
Save