Example #1
0
        public async void GetCatapultEngine_ReturnNull()
        {
            var catapultEngineService = new CatapultEngineService(_catapultEngineRepository.Object);
            var catapultEngine        = await catapultEngineService.GetCatapultEngine(2);

            Assert.Null(catapultEngine);
        }
Example #2
0
        public async void GetCatapultEngine_ReturnItem()
        {
            var catapultEngineService = new CatapultEngineService(_catapultEngineRepository.Object);
            var projectCatapultEngine = await catapultEngineService.GetCatapultEngine(1);

            Assert.NotNull(projectCatapultEngine);
            Assert.Equal(1, projectCatapultEngine.Id);
        }