@Test
public void handleUserReadyEvent_ShouldPutRegistrationResultInExtraAndCallFinishWithResultOk() {

    registrationActivity.handleUserReadyEvent(new HashMap<Object, Object>() {{
        put("userToken", "my_token");
    }});
    Intent expectedIntent = new Intent();
    expectedIntent.putExtra(RegistrationActivity.EXTRA_USER_TOKEN, "my_token");
    verify(registrationActivity).setResult(eq(Activity.RESULT_OK), eq(expectedIntent));
    verify(registrationActivity).finish();
}