def METHOD_NAME(
    self, mocked_getUserId, mocked_get_tokens
):
    """
    test if token owner is found
    """
    serial = "fake_123_token"
    user = User(login="hans")
    mocked_getUserId.return_value = (123, "res", "resC")
    mocked_get_tokens.return_value = [FakeToken("123", "res", "resC")]
    th = TokenHandler()
    res = th.isTokenOwner(serial, user)
    assert res
    return