コード例 #1
0
        public void poolImages_Negative()
        {
            _configMock = InitConfiguration();
            NasaController nasaObj = new NasaController(_configMock);
            ActionResult   result  = nasaObj.poolImages();

            Assert.Fail("Down loaded successfully", result);
        }
コード例 #2
0
        public void MyTestInitialize()
        {
            commands = new List <ICommand>
            {
                moveCommandMock,
                rotateLeftCommandMock,
                rotateRightCommandMock
            };

            nasaParserMock = Substitute.For <NasaParser>();

            controller = new NasaController(nasaParserMock);
        }