Search in sources :

Example 1 with TrustedSocketFactory

use of com.fsck.k9.mail.ssl.TrustedSocketFactory in project k-9 by k9mail.

the class ImapStoreTest method setUp.

@Before
public void setUp() throws Exception {
    storeConfig = createStoreConfig();
    TrustedSocketFactory trustedSocketFactory = mock(TrustedSocketFactory.class);
    ConnectivityManager connectivityManager = mock(ConnectivityManager.class);
    OAuth2TokenProvider oauth2TokenProvider = mock(OAuth2TokenProvider.class);
    imapStore = new TestImapStore(storeConfig, trustedSocketFactory, connectivityManager, oauth2TokenProvider);
}
Also used : TrustedSocketFactory(com.fsck.k9.mail.ssl.TrustedSocketFactory) ConnectivityManager(android.net.ConnectivityManager) OAuth2TokenProvider(com.fsck.k9.mail.oauth.OAuth2TokenProvider) Before(org.junit.Before)

Aggregations

ConnectivityManager (android.net.ConnectivityManager)1 OAuth2TokenProvider (com.fsck.k9.mail.oauth.OAuth2TokenProvider)1 TrustedSocketFactory (com.fsck.k9.mail.ssl.TrustedSocketFactory)1 Before (org.junit.Before)1