public void InsertSuperhero_WithoutMatchingUniverse_Throws()
        {
            var superhero = new Superhero()
            {
                Id            = -1,
                SuperheroName = "Captain America",
                UniverseId    = _lastUniverseId + 5000
            };

            SuperheroHandler.AddSuperhero(superhero);
        }
        public void DeleteUniverse_UsedUniverse_ThrowsException()
        {
            var sh = new Superhero()
            {
                UniverseId = _lastUniverseId
            };

            sh.SuperheroName = "Captain America";
            SuperheroHandler.AddSuperhero(sh);
            UniverseHandler.DeleteUniverse(_lastUniverseId);
        }
        public void InsertSuperhero_WithMatchingUniverse_UpdatesId()
        {
            var superhero = new Superhero()
            {
                Id            = -1,
                SuperheroName = "Captain America",
                UniverseId    = _lastSuperheroId
            };

            SuperheroHandler.AddSuperhero(superhero);
            Assert.AreNotEqual(-1, superhero.Id);
        }