From 112c87aa65ae2430e4f4c2f8fa49f306f4b66439 Mon Sep 17 00:00:00 2001 From: "Anthony D. Mays" Date: Mon, 28 Oct 2024 11:43:28 -0700 Subject: [PATCH] tests: add more coverage for Lesson15 (#477) Signed-off-by: Anthony D. Mays --- .../java/com/codedifferently/lesson15/Lesson15Test.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lesson_15/tdd/tdd_app/src/test/java/com/codedifferently/lesson15/Lesson15Test.java b/lesson_15/tdd/tdd_app/src/test/java/com/codedifferently/lesson15/Lesson15Test.java index 0be6093d..cd6ef511 100644 --- a/lesson_15/tdd/tdd_app/src/test/java/com/codedifferently/lesson15/Lesson15Test.java +++ b/lesson_15/tdd/tdd_app/src/test/java/com/codedifferently/lesson15/Lesson15Test.java @@ -10,4 +10,10 @@ class Lesson15Test { public void testLesson15() { assertThat(new Lesson15()).isNotNull(); } + + @Test + public void testGetGreeting() { + // Act + Lesson15.main(null); + } }