@Test
public void onActivityResultIgnoresOtherResults() throws Exception {

    XingOAuth xingOAuth = buildTestXingOauth();
    Intent data = new Intent();
    OAuthResponse response = xingOAuth.onActivityResult(345, Activity.RESULT_CANCELED, data);
    assertThat(response).isNull();
}