public void TestIsInUseWithUnusedLevel()
        {
            DifficultyLevel levelNotInUse = _dataGenerator.CreateDifficultyLevel();

            IDifficultyLevelDao difficultyLevelDao = new DifficultyLevelDao(_graphClient);
            bool isLevelInUse = difficultyLevelDao.IsInUse(levelNotInUse);

            Assert.IsFalse(isLevelInUse);
        }
        public void TestIsInUseWithUsedLevel()
        {
            Route           route      = _dataGenerator.CreateRouteInCountry();
            DifficultyLevel levelInUse = _dataGenerator.CreateDifficultyLevel();
            Variation       variation  = _dataGenerator.CreateVariation(levelInUse, route);

            IVariationDao     variationDao      = new VariationDao(_graphClient);
            IList <Variation> variationsOnRoute = variationDao.GetAllOn(route);

            Assert.AreEqual(1, variationsOnRoute.Count);

            IDifficultyLevelDao difficultyLevelDao = new DifficultyLevelDao(_graphClient);



            bool isLevelInUse = difficultyLevelDao.IsInUse(levelInUse);

            Assert.IsTrue(isLevelInUse);
        }