def METHOD_NAME(self):
    """Test the ``TransportFactory``."""
    plugin = factories.TransportFactory('valid')
    assert plugin is Transport
    with pytest.raises(InvalidEntryPointTypeError):
        factories.TransportFactory('invalid')