### Question:
ActivityResult { public int getResultCode() { return resultCode; } ActivityResult(int okResultCode, int resultCode, Intent data); Intent getData(); int getResultCode(); boolean isOk(); @Override boolean equals(Object obj); @Override String toString();  }### Answer:
@Test public void getResultCode() { assertEquals(activityResult.getResultCode(), resultCode); }