public void FailWhenTypesAreNotTheSame() { AssertAll.IsNotInstanceOfType(1, typeof(int)); Assert.ThrowsException <AssertAllFailedException>(() => AssertAll.Execute()); }
public void PassWhenTypesAreTheSame() { AssertAll.IsNotInstanceOfType("1", typeof(int)); AssertAll.Execute(); }