Esempio n. 1
0
        public void GivenConnectorFactory_WhenProvidingValidName_ThenItInstantiateProperConnector(Type expected, string name)
        {
            IFactory <ConnectorBase> factorySubject = ProvideFactory();
            ConnectorBase            connector      = factorySubject.CreateInstance(name);

            Assert.Equal(expected.FullName, connector.GetType().FullName);
        }