public void RoyaltyDepartment_ReturnsTrue() { RoyaltyDepartment royalty = new RoyaltyDepartment(); var result = royalty.Royalty(true); Assert.IsTrue(result); }
public void RoyaltyDepartment_ReturnsFalse() { RoyaltyDepartment royalty = new RoyaltyDepartment(); var result = royalty.Royalty(false); Assert.IsFalse(result); }
public Book() : base() { RoyaltyDepartment royalty = new RoyaltyDepartment(); royalty.Royalty(true); //RoyaltyDepartment will be called to provide duplicate slip }