From eb4ce37f31a2925791f02d3e810bcd1103586d43 Mon Sep 17 00:00:00 2001 From: Rutuja Joshi <67615932+rutujavjoshi@users.noreply.github.com> Date: Thu, 13 Aug 2020 08:31:19 +0530 Subject: [PATCH] Update MainMenuUnitTest.java Updated the method name to follow BDD conventions --- .../baeldung/exceptions/nosuchmethoderror/MainMenuUnitTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core-java-modules/core-java-exceptions/src/test/java/com/baeldung/exceptions/nosuchmethoderror/MainMenuUnitTest.java b/core-java-modules/core-java-exceptions/src/test/java/com/baeldung/exceptions/nosuchmethoderror/MainMenuUnitTest.java index e9aef1b484..7e53fa9c0e 100644 --- a/core-java-modules/core-java-exceptions/src/test/java/com/baeldung/exceptions/nosuchmethoderror/MainMenuUnitTest.java +++ b/core-java-modules/core-java-exceptions/src/test/java/com/baeldung/exceptions/nosuchmethoderror/MainMenuUnitTest.java @@ -7,7 +7,7 @@ import org.junit.jupiter.api.Test; class MainMenuUnitTest { @Test - void testgetSpecials() { + void whenGetSpecials_thenNotNull() { assertNotNull(MainMenu.getSpecials()); }