11package org .testcontainers .containers ;
22
33import com .orientechnologies .orient .core .db .ODatabaseSession ;
4- import org .junit .Test ;
4+ import org .junit .jupiter . api . Test ;
55import org .testcontainers .utility .DockerImageName ;
66import org .testcontainers .utility .MountableFile ;
77
88import static org .assertj .core .api .Assertions .assertThat ;
99
10- public class OrientDBContainerTest {
10+ class OrientDBContainerTest {
1111
1212 private static final DockerImageName ORIENTDB_IMAGE = DockerImageName .parse ("orientdb:3.2.0-tp3" );
1313
1414 @ Test
15- public void shouldReturnTheSameSession () {
15+ void shouldReturnTheSameSession () {
1616 try ( // container {
1717 OrientDBContainer orientdb = new OrientDBContainer ("orientdb:3.2.0-tp3" )
1818 // }
@@ -27,7 +27,7 @@ public void shouldReturnTheSameSession() {
2727 }
2828
2929 @ Test
30- public void shouldInitializeWithCommands () {
30+ void shouldInitializeWithCommands () {
3131 try (OrientDBContainer orientdb = new OrientDBContainer (ORIENTDB_IMAGE )) {
3232 orientdb .start ();
3333
@@ -42,7 +42,7 @@ public void shouldInitializeWithCommands() {
4242 }
4343
4444 @ Test
45- public void shouldQueryWithGremlin () {
45+ void shouldQueryWithGremlin () {
4646 try (
4747 OrientDBContainer orientdb = new OrientDBContainer (ORIENTDB_IMAGE )
4848 .withCopyFileToContainer (
@@ -63,7 +63,7 @@ public void shouldQueryWithGremlin() {
6363 }
6464
6565 @ Test
66- public void shouldInitializeDatabaseFromScript () {
66+ void shouldInitializeDatabaseFromScript () {
6767 try (
6868 OrientDBContainer orientdb = new OrientDBContainer (ORIENTDB_IMAGE )
6969 .withScriptPath ("initscript.osql" )
0 commit comments