public void Does_Not_Throw_On_Valid_Argument() { var myValidator = new Validator(); ExtendedAssert.DoesNotThrow(() => myValidator.VerifyNotNullOrEmpty("a")); }
public void Does_Not_Throw_On_Non_Null_Argument() { ExtendedAssert.DoesNotThrow(() => new Validator().VerifyNonNull(new Object())); }
public void Does_Not_Throw_For_No_Arguments() { ExtendedAssert.DoesNotThrow(() => new Validator().VerifyParamsNonNull()); }
public void Does_Not_Throw_If_Nothing_Is_Null() { ExtendedAssert.DoesNotThrow(() => new Validator().VerifyNonNull("asdf")); }
public void Does_Not_Throw_Exception_On_Remove() { ExtendedAssert.DoesNotThrow(() => new ArbitraryCommand(() => { }).CanExecuteChanged -= (o, e) => { }); }
public void Does_Not_Throw_Exception_When_Underlying_Project_Is_Null() { var newValue = "123321"; ExtendedAssert.DoesNotThrow(() => Target.PublicationDirectory = newValue); }
public void Does_Not_Throw_Exception_On_Value_Type() { var myStub = new Stub <int>(); ExtendedAssert.DoesNotThrow(() => myStub.SetReturnsDefault <string>("asdf")); }
public void Does_Not_Throw_Exception_When_Cleared_On_Empty() { var project = new Project(); ExtendedAssert.DoesNotThrow(() => project.ClearModules()); }