Esempio n. 1
0
        public HealthServiceTests()
        {
            this.hero    = new Hero();
            this.heroTwo = new Hero();

            this.context       = FarmHeroesDbContextInMemoryInitializer.InitializeContext();
            this.healthService = this.GetHealthService();
        }
Esempio n. 2
0
        public ChronometerServiceTests()
        {
            this.hero    = new Hero();
            this.heroTwo = new Hero();

            this.context = FarmHeroesDbContextInMemoryInitializer.InitializeContext();

            this.chronometerService = this.GetChronometerService();
        }
        public LevelServiceTests()
        {
            this.hero = new Hero()
            {
                Level = new Level()
                {
                    CurrentLevel      = 5,
                    CurrentExperience = 0,
                    NeededExperience  = 33,
                },
            };

            this.heroTwo = new Hero();

            this.context = FarmHeroesDbContextInMemoryInitializer.InitializeContext();

            this.levelService = this.GetLevelService();
        }
 public HeroServiceTests()
 {
     this.context = FarmHeroesDbContextInMemoryInitializer.InitializeContext();
 }