public void LoadTickers_Should_Return_False() { var mock = new Mock <TickerLoader>() { CallBase = true }; mock.Setup(loader => loader.UploadAsxEodRaw()).Returns(false); TickerBLL bll = new TickerBLL(null, "testConnectionString"); var result = bll.LoadTickers(mock.Object); Assert.IsFalse(result); }