public void Run_InvalidCommand_ThrowException(ProcessRunner sut)
 {
     //Assert
     sut.Invoking(x => x.Run("aaaaa", "/d/d/d/d/d/")).ShouldThrow <ProcessException>();
 }
Example #2
0
 public void Run_InvalidCommand_ThrowException(ProcessRunner sut)
 {
   //Assert      
   sut.Invoking(x => x.Run("aaaaa", "/d/d/d/d/d/")).ShouldThrow<ProcessException>();
 }
 public void Run_InvalidArguments_ThrowException(ProcessRunner sut)
 {
     //Assert
     sut.Invoking(x => x.Run("xcopy", "/d/d/d/d/d/")).ShouldThrow <ProcessException>();
 }
Example #4
0
 public void Run_InvalidArguments_ThrowException(ProcessRunner sut)
 {
   //Assert      
   sut.Invoking(x=>x.Run("xcopy", "/d/d/d/d/d/")).ShouldThrow<ProcessException>();
 }