示例#1
0
        public void CreateFromThrowsInvalidProviderExceptionIfUnknownProvider()
        {
            //Arrange
            IConfiguration config = new WrongConfiguration {
            };

            //Act
            ActualValueDelegate <object> testDelegate = () => factory.CreateFrom(config);

            //Assert
            Assert.That(testDelegate, Throws.TypeOf <InvalidProviderException>());
        }