@Test
public void testAssertEqualsWithSpecificException() {

  try {
    assertEquals("Hello", null, new UnsupportedOperationException());
    fail();
  } catch (final UnsupportedOperationException e) {
    // good we expected this
  }
  try {
    assertEquals(null, "Hello", new UnsupportedOperationException());
    fail();
  } catch (final UnsupportedOperationException e) {
    // good we expected this
  }
}