public void Test_PigDaliy() { // given var expected = new Pig(); // when var result = new HigherLayer("PIG").GetAnimal(); // then Assert.AreEqual(expected.GetType(), result.GetType()); }
protected override void OnAddToStageComplete() { base.OnAddToStageComplete(); contactTypes.Add(pig.GetType(), OnPigContact); }