public void SummaryCommandServiceBase_AddSummaryToCaseByNumber() { CreateArrestSummary(); var summariesUnitOfWork = GetDependency <ISummariesUnitOfWork>(); Assert.IsInstanceOfType(summariesUnitOfWork, typeof(ISummariesUnitOfWork)); var masterIndexService = GetDependency <IMasterIndexService>(); Assert.IsInstanceOfType(masterIndexService, typeof(IMasterIndexService)); var arrestSummaryCommandService = new ArrestSummaryCommandService( summariesUnitOfWork, masterIndexService, Mock.Of <ILog>()); try { arrestSummaryCommandService.AddSummaryToCaseByNumber(summaryGuid, agencyId, "#123"); Assert.Fail(); } catch (Exception exception) { Assert.IsTrue(exception is NotImplementedException); } }
public void AddSummaryToCaseByNumber() { _arrestSummaryCommandService.AddSummaryToCaseByNumber(It.IsAny <Guid>(), It.IsAny <Guid>(), It.IsAny <string>()); }