public void EnqueueTestToRun_NullTest_ArgumentNullException() { Assert.Throws <ArgumentNullException>(() => _testqueue.EnqueueTestToRun(null), "{0}.{1}() should throw an ArgumentNullException if you pass it a null test!", nameof(TestQueue), nameof(TestQueue.EnqueueTestToRun)); }