@Test
public void unsupportedAuthenticationProvider() {

    thrown.expect(IllegalArgumentException.class);
    thrown.expectMessage("Unsupported provider: bogusProvider");
    Syncbase.login("", "bogusProvider", new Syncbase.LoginCallback() {
        @Override
        public void onSuccess() {
        }
        @Override
        public void onError(Throwable e) {
        }
    });
}