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); }