public void Send_Should_ThrowException_When_MultipleParameterSpecified()
        {
            // Arrange
              var repo = new NameFileRepository(ValidFile);

              // Act
              var names = repo.Load();

              // Assert
              Assert.That(names, Is.Not.Null);

              var namesList = names.ToList();
              Assert.That(namesList.Count, Is.EqualTo(4));
              Assert.That(namesList[0], Is.EqualTo("bob"));
              Assert.That(namesList[1], Is.EqualTo("sally"));
              Assert.That(namesList[2], Is.EqualTo("fred"));
              Assert.That(namesList[3], Is.EqualTo("tina"));
        }
 public void Send_Should_ThrowException_When_FilenameIsInvalid()
 {
     var repo = new NameFileRepository("!@#$%^$%&(");
       repo.Load();
 }
 public void Send_Should_ThrowException_When_FileIsEmpty()
 {
     var repo = new NameFileRepository(EmptyFile);
       repo.Load();
 }