public void TestIsInUseByRoute() { Country country = _dataGenerator.CreateCountry(); Route route = _dataGenerator.CreateRouteInCountry(country:country); ICountryDao countryDao = new CountryDao(_graphClient); bool isInUse = countryDao.IsInUse(country); Assert.IsTrue(isInUse); }
public void TestIsInUseByArea() { Country country = _dataGenerator.CreateCountry(); Area area = _dataGenerator.CreateArea(country: country); ICountryDao countryDao = new CountryDao(_graphClient); bool isInUse = countryDao.IsInUse(country); Assert.IsTrue(isInUse); }
public void TestIsNotInUse() { Country country = _dataGenerator.CreateCountry(); ICountryDao countryDao = new CountryDao(_graphClient); bool isInUse = countryDao.IsInUse(country); Assert.IsFalse(isInUse); }