3636import org .junit .jupiter .api .BeforeEach ;
3737import org .junit .jupiter .api .Test ;
3838
39- public final class SQLiteOpenHelperJavaTest {
39+ final class SQLiteOpenHelperJavaTest {
4040 private final File file = File .createTempFile ("test-java-open-helper" , ".db" );
4141 private final byte [] key = new byte [] {
4242 0x42 , 0x42 , 0x42 , 0x42 , 0x42 , 0x42 , 0x42 , 0x42 ,
@@ -48,16 +48,16 @@ public final class SQLiteOpenHelperJavaTest {
4848 private final Context targetContext = mock (Context .class );
4949 private SQLiteOpenHelper databaseHelper = null ;
5050
51- public SQLiteOpenHelperJavaTest () throws IOException {}
51+ SQLiteOpenHelperJavaTest () throws IOException {}
5252
5353 @ BeforeEach
54- public void setUp () {
54+ void setUp () {
5555 file .deleteOnExit ();
5656 when (targetContext .getDatabasePath (anyString ())).thenReturn (file );
5757 }
5858
5959 @ AfterEach
60- public void tearDown () {
60+ void tearDown () {
6161 final SQLiteOpenHelper helper = databaseHelper ;
6262 if (helper != null ) {
6363 final SQLiteDatabase database = helper .getWritableDatabase ();
@@ -73,7 +73,7 @@ public void tearDown() {
7373 }
7474
7575 @ Test
76- public void creation () {
76+ void creation () {
7777 final ISQLiteOpenHelper .Callback callback = mock (ISQLiteOpenHelper .Callback .class );
7878 databaseHelper = new SQLiteOpenHelper (
7979 targetContext ,
@@ -90,7 +90,7 @@ public void creation() {
9090 }
9191
9292 @ Test
93- public void createWithLoggingEnabled () {
93+ void createWithLoggingEnabled () {
9494 final ISQLiteOpenHelper .Callback callback = mock (ISQLiteOpenHelper .Callback .class );
9595 databaseHelper = new SQLiteOpenHelper (
9696 targetContext ,
0 commit comments