ValidationUtils { public static void assertNotEquals( final Object obj1, final Object obj2, final RuntimeException error) { assertFalse(equal(obj1, obj2), error); }  static void assertTrue(final boolean value, final RuntimeException th); static void assertTrue(final boolean value, final String message); static void assertTrue(final boolean value); static void assertFalse(final boolean value, final RuntimeException th); static void assertFalse(final boolean value, final String message); static void assertFalse(final boolean value); static void assertNull(final Object obj, final RuntimeException error); static void assertNull(final Object obj, final String message); static void assertNull(final Object obj); static void assertNotNull(final Object obj, final RuntimeException error); static void assertNotNull(final Object obj, final String message); static void assertNotNull(final Object obj); static void assertEquals(
      final Object obj1,
      final Object obj2,
      final RuntimeException error); static void assertEquals(
      final Object obj1,
      final Object obj2,
      final String message); static void assertEquals(
      final Object obj1,
      final Object obj2); static void assertNotEquals(
      final Object obj1,
      final Object obj2,
      final RuntimeException error); static void assertNotEquals(
      final Object obj1,
      final Object obj2,
      final String message); static void assertNotEquals(
      final Object obj1,
      final Object obj2);  }
@Test public void testAssertNotEquals() { assertNotEquals(null, "Hello"); assertNotEquals("Hello", null); assertNotEquals("Hello", "Hello1"); try { assertNotEquals(null, null); fail(); } catch (final AssertionError e) { } try { assertNotEquals("Hello", "Hello"); fail(); } catch (final AssertionError e) { } }
@Test(expected = UnsupportedOperationException.class) public void testAssertNotEqualsWithSpecificException() { assertNotEquals("Hello", "Hello", new UnsupportedOperationException()); }