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

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

            // then

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