From 73e2047689b2d4ad14e87ea60fda6680e8269b78 Mon Sep 17 00:00:00 2001 From: Alex Golub Date: Wed, 20 Apr 2022 13:50:30 +0300 Subject: [PATCH] Use the default package visibility and optimize imports --- .../com/baeldung/JUnit5NewFeaturesUnitTest.java | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/testing-modules/junit-5-basics/src/test/java/com/baeldung/JUnit5NewFeaturesUnitTest.java b/testing-modules/junit-5-basics/src/test/java/com/baeldung/JUnit5NewFeaturesUnitTest.java index 311c62f425..9b67426dfa 100644 --- a/testing-modules/junit-5-basics/src/test/java/com/baeldung/JUnit5NewFeaturesUnitTest.java +++ b/testing-modules/junit-5-basics/src/test/java/com/baeldung/JUnit5NewFeaturesUnitTest.java @@ -1,17 +1,11 @@ package com.baeldung; +import org.junit.jupiter.api.*; + import java.util.logging.Logger; -import org.junit.jupiter.api.AfterAll; -import org.junit.jupiter.api.AfterEach; -import org.junit.jupiter.api.BeforeAll; -import org.junit.jupiter.api.BeforeEach; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.DisplayName; -import org.junit.jupiter.api.Test; - //@RunWith(JUnitPlatform.class) -public class JUnit5NewFeaturesUnitTest { +class JUnit5NewFeaturesUnitTest { private static final Logger log = Logger.getLogger(JUnit5NewFeaturesUnitTest.class.getName()); @@ -29,7 +23,6 @@ public class JUnit5NewFeaturesUnitTest { @Test void testSingleSuccessTest() { log.info("Success"); - } @Test