コード例 #1
0
 public async Task TypicalRun_FactoryResultIsRunAndReturned(
     int ret,
     [Frozen] ProcessStartInfo startInfo,
     IProcessWrapper process,
     CancellationToken cancel,
     ProcessRunner sut)
 {
     process.Run().Returns(Task.FromResult(ret));
     sut.Factory.Create(default !).ReturnsForAnyArgs(process);