public void Test_PigDaliy()
        {
            // given
            var expected = new Pig();

            // when
            var result = new HigherLayer("PIG").GetAnimal();

            // then

            Assert.AreEqual(expected.GetType(), result.GetType());
        }
Beispiel #2
0
 protected override void OnAddToStageComplete()
 {
     base.OnAddToStageComplete();
     contactTypes.Add(pig.GetType(), OnPigContact);
 }