### Question:
ImmutablePair { public B getSecond() { return second; } ImmutablePair(A first, B second); static ImmutablePair<A, B> of(A first, B second); A getFirst(); B getSecond(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object o);  }### Answer:
@Test public void testGetSecond() throws Exception { Assert.assertEquals(Integer.class, Fixture.a.getSecond().getClass()); Assert.assertEquals(2, Fixture.a.getSecond().intValue()); }