public void Send_Should_ThrowException_When_MultipleParameterSpecified() { var sender = new ConsoleMessageSender(ValidFile); sender.Send("Hello {0} {1}"); }
public void Send_Should_ThrowException_When_FilenameIsInvalid() { var sender = new ConsoleMessageSender("!@#$%^$%&("); sender.Send(ValidMessage); }
public void Send_Should_SendAMessage_When_OneParameterSpecified() { var sender = new ConsoleMessageSender(ValidFile); sender.Send("Hello {0}"); }
public void Send_Should_ThrowException_When_FileIsEmpty() { var sender = new ConsoleMessageSender(EmptyFile); sender.Send(ValidMessage); }
public void Send_Should_NotThrowException_When_NoParameterSpecified() { var sender = new ConsoleMessageSender(ValidFile); sender.Send("Hello"); }