public void Test_AreNotEqual() { Assert.Throws <CustomException>( () => Require.AreNotEqual <CustomException>(1, 1) ); Assert.Throws <ArgumentException>( () => Require.AreNotEqual(1, 1) ); Assert.DoesNotThrow( () => Require.AreNotEqual <CustomException>(1, 2) ); Assert.DoesNotThrow( () => Require.AreNotEqual(1, 2) ); }