public void Run_InvalidCommand_ThrowException(ProcessRunner sut) { //Assert sut.Invoking(x => x.Run("aaaaa", "/d/d/d/d/d/")).ShouldThrow <ProcessException>(); }
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>(); }
public void Run_InvalidArguments_ThrowException(ProcessRunner sut) { //Assert sut.Invoking(x=>x.Run("xcopy", "/d/d/d/d/d/")).ShouldThrow<ProcessException>(); }