def test_authentication_subclass_with_autenticate_not_as_method():
    app = Sanic()
    with pytest.raises(exceptions.AuthenticateNotImplemented):
        Initialize(app, authentication_class=AuthenticationWithNoMethod)
def test_authentication_subclass_with_autenticate_not_as_method():
    app = Sanic()
    with pytest.raises(exceptions.AuthenticateNotImplemented):
        Initialize(app, authentication_class=AuthenticationWithNoMethod)