public void GenerateNPVTest() { NPVCalc.Controllers.NPVController npvControl = new NPVController(); Assert.Fail(); }
public void Setup() { npvQueryMock = new Mock <DbSet <NPVQuery> >(); npvContextMock = new Mock <NPVContext>(); npvContextMock.Setup(m => m.NPVQueries).Returns(npvQueryMock.Object); npvQueryMock.Setup(m => m.Add(It.IsAny <NPVQuery>())); npvContextMock.Setup(m => m.SaveChanges()); npvController = new NPVController(npvContextMock.Object); }
public void Setup() { _npvService = A.Fake <INPVCalculatorService>(); _npvController = new NPVController(_npvService); }
public void Setup() { _npvDataAccessMock = new Mock <INPVDataAccess>(MockBehavior.Strict); _controller = new NPVController(_npvDataAccessMock.Object); }