public void TestCreateCreature_InitializesCreatureCorrectly_ShouldReturnTrue(string name)
        {
            var factory = new NewCreatureFactory();

            var creature = factory.CreateCreature(name);

            Assert.AreEqual(name, creature.GetType().Name);
        }
        public void TestCreateCreature_PassInvalidName_ShouldThrowWithValidMessage(string name)
        {
            var factory = new NewCreatureFactory();

            try
            {
                factory.CreateCreature(name);
            }
            catch (ArgumentException ex)
            {
                Assert.AreEqual("Invalid creature type \"Batka\"!", ex.Message);
            }
        }
        public void TestCreateCreature_PassInvalidName_ShouldThrow(string name)
        {
            var factory = new NewCreatureFactory();

            Assert.Throws<ArgumentException>(() => factory.CreateCreature(name));
        }