public void Should_return_a_success_message()
 {
     StandardErrorText.ShouldBeEqualTo("");
     Regex.IsMatch(StandardOutText, DeleteAccount.SuccessMessageText.MessageTextToRegex()).ShouldBeTrue();
 }
示例#2
0
 public void Should_not_write_to_output()
 {
     StandardErrorText.ShouldBeEqualTo("");
     StandardOutText.ShouldBeEqualTo("");
 }
示例#3
0
 public void Should_write_an_error_message_to_standard_error()
 {
     StandardErrorText.ShouldContain("namrepus");
 }