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()); }