public async void GetCatapultEngine_ReturnNull() { var catapultEngineService = new CatapultEngineService(_catapultEngineRepository.Object); var catapultEngine = await catapultEngineService.GetCatapultEngine(2); Assert.Null(catapultEngine); }
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); }