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