    @Test
    public void shouldLoginWhenCredentialsAreRetrievedFromSmartLock() throws Exception {

        smartLock.onCredentialsRetrieved(activity, credential);
        verify(apiClient).login(eq(EMAIL), eq(PASSWORD), anyMapOf(String.class, Object.class), any(AuthenticationCallback.class));
    }