public void FindSubstituteFor_DriverNull_ReturnsNull()
        {
            _handler = new TypeSubstitutionHandler(null);

            var sub = _handler.FindSubstituteFor(typeof (string));

            Assert.That(sub, Is.Null);
        }
 public void Setup()
 {
     _fakeDriver = new TotallyFakeWebDriver();
     _handler = new TypeSubstitutionHandler(new PassengerConfiguration { Driver = _fakeDriver });
 }