public void poolImages_Negative() { _configMock = InitConfiguration(); NasaController nasaObj = new NasaController(_configMock); ActionResult result = nasaObj.poolImages(); Assert.Fail("Down loaded successfully", result); }
public void MyTestInitialize() { commands = new List <ICommand> { moveCommandMock, rotateLeftCommandMock, rotateRightCommandMock }; nasaParserMock = Substitute.For <NasaParser>(); controller = new NasaController(nasaParserMock); }