// Path: app/src/main/java/com/jonathanpetitfrere/mvvm/repository/persistence/MvvmDatabase.java
// @Database(entities = {User.class}, version = 1)
// public abstract class MvvmDatabase extends RoomDatabase {
// 
//     public abstract UserDao userDao();
// 
// }


import android.arch.persistence.room.Room;
import android.content.Context;
import com.jonathanpetitfrere.mvvm.repository.persistence.MvvmDatabase;
package com.jonathanpetitfrere.mvvm.di;



/**
 * @author jpetit
 */

public class TestRepositoryModule extends RepositoryModule {

    @Override
    MvvmDatabase provideMvvmDatabase(Context context) {
// Path: app/src/main/java/com/jonathanpetitfrere/mvvm/repository/persistence/MvvmDatabase.java
// @Database(entities = {User.class}, version = 1)
// public abstract class MvvmDatabase extends RoomDatabase {
// 
//     public abstract UserDao userDao();
// 
// }


// Path: app/src/androidTest/java/com/jonathanpetitfrere/mvvm/di/TestRepositoryModule.java
import android.arch.persistence.room.Room;
import android.content.Context;
import com.jonathanpetitfrere.mvvm.repository.persistence.MvvmDatabase;

package com.jonathanpetitfrere.mvvm.di;



/**
 * @author jpetit
 */

public class TestRepositoryModule extends RepositoryModule {

    @Override
    MvvmDatabase provideMvvmDatabase(Context context) {
        return Room.inMemoryDatabaseBuilder(context.getApplicationContext(), MvvmDatabase.class)