def METHOD_NAME(self):
    class AnotherOauthLibBackend:
        pass
    class TestView(OAuthLibMixin, View):
        server_class = Server
        validator_class = OAuth2Validator
        oauthlib_backend_class = AnotherOauthLibBackend
    request = self.request_factory.get("/fake-req")
    request.user = "fake"
    test_view = TestView()
    self.assertEqual(test_view.get_oauthlib_backend_class(), AnotherOauthLibBackend)