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