public void SubclassesCanInvokeParentBehaviorUsingBase() { var ralph = new BullDog("Ralph"); Assert.Equal("WOOF, GROWL", ralph.Bark()); }
public void YouCanCallBaseEvenFromOtherMethods() { var george = new BullDog("George"); Assert.Equal(FILL_ME_IN, george.Bark()); }
public void YouCanCallBaseEvenFromOtherMethods() { var george = new BullDog ("George"); Assert.AreEqual ("WOOF, GROWL", george.Bark ()); }
public void SubclassesCanInvokeParentBehaviorUsingBase() { var ralph = new BullDog("Ralph"); Assert.Equal(FILL_ME_IN, ralph.Bark()); }
public void YouCanCallBaseEvenFromOtherMethods() { var george = new BullDog ("George"); Assert.AreEqual ((new GreatDane("George")).Growl(), george.Bark ()); }