package org.mercury_im.messenger.data.di.component;

import org.mercury_im.messenger.core.di.module.IkeyModule;
import org.mercury_im.messenger.data.di.RepositoryModule;
import org.mercury_im.messenger.data.di.module.SqliteTestDatabaseModule;
import org.mercury_im.messenger.data.di.module.TestingSchedulerModule;
import org.mercury_im.messenger.data.repository.AccountRepositoryTest;
import org.mercury_im.messenger.data.repository.IkeyRepositoryTest;

import javax.inject.Singleton;

import dagger.Component;

@Component(modules = {
        RepositoryModule.class,
        IkeyModule.class,
        SqliteTestDatabaseModule.class,
        TestingSchedulerModule.class
})
@Singleton
public interface InMemoryDatabaseComponent {

    void inject(AccountRepositoryTest test);

    void inject(IkeyRepositoryTest test);
}
