コード例 #1
0
        public void FindSubstituteFor_DriverNull_ReturnsNull()
        {
            _handler = new TypeSubstitutionHandler(null);

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

            Assert.That(sub, Is.Null);
        }
コード例 #2
0
 public void Setup()
 {
     _fakeDriver = new TotallyFakeWebDriver();
     _handler = new TypeSubstitutionHandler(new PassengerConfiguration { Driver = _fakeDriver });
 }