def METHOD_NAME(mocker, connector, create_datasource, remove_secrets):
    """It should raise an exception if there are no secrets returned or any document in database."""
    with pytest.raises(NoCredentialsError) as err:
        connector.get_df(create_datasource)
    assert str(err.value) == 'No credentials'