public void PutIn(IMagical magical) { if (magical == null) { throw new NullReferenceException("nulls are not allowed"); } MagicalsInHat.Enqueue(magical); }
public void PutIn(IMagical magical) { if (magical == null) { throw new NullReferenceException("nulls are not allowed"); } MagicalsInHat.Enqueue(magical); }
private void CanTakeTheSameMagicalFromHat(IMagical aCard) { Assert.AreSame(aCard, _simpleHat.Shazaam()); }
private void CanTakeTheSameMagicalFromHat(IMagical aCard) { Assert.AreSame(aCard, _simpleHat.Shazaam()); }