diff --git a/src/test/java/io/eigr/spawn/test/extensions/SimpleDependencyInjectorTest.java b/src/test/java/io/eigr/spawn/test/extensions/SimpleDependencyInjectorTest.java index fbb8466..e136ef5 100644 --- a/src/test/java/io/eigr/spawn/test/extensions/SimpleDependencyInjectorTest.java +++ b/src/test/java/io/eigr/spawn/test/extensions/SimpleDependencyInjectorTest.java @@ -2,16 +2,16 @@ import io.eigr.spawn.api.extensions.DependencyInjector; import io.eigr.spawn.api.extensions.SimpleDependencyInjector; -import org.junit.Before; -import org.junit.Test; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; -import static org.junit.Assert.assertEquals; +import static org.junit.jupiter.api.Assertions.assertEquals; -public class SimpleDependencyInjectorTest { +class SimpleDependencyInjectorTest { private DependencyInjector injector; - @Before + @BeforeEach public void before() { injector = SimpleDependencyInjector.createInjector(); }