def METHOD_NAME(app):
    """Test get_endpoint_configuration."""
    assert get_endpoint_configuration('loc')['pid_type'] == 'loc'
    assert get_endpoint_configuration('locations')['pid_type'] == 'loc'
    assert get_endpoint_configuration(PatronType)['pid_type'] == 'ptty'
    assert get_endpoint_configuration('dummy') is None