常用方法
常用方法
常用方法
常用方法
public void TestLogExecutedShouldLogInfo() { _logger.LogExecuted(new FakeCommand()); _mockLog.Verify(p => p.Info("Fake Command was executed."), Times.Once()); }
public void TestLogExecutedShouldLogInfo() { _logger.LogExecuted(new FakeCommand()); _mockLog.Verify(p => p.Info("Fake Command was executed."), Times.Once()); }