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