def METHOD_NAME(self, swagger_client_factory):
    # given
    self._get_swagger_client_mock(swagger_client_factory, max_compatible="0.5.12")
    # expect
    with self.assertRaises(UnsupportedClientVersion) as ex:
        HostedNeptuneBackendApiClient(api_token=API_TOKEN)
    self.assertTrue("Please install neptune-client==0.5.12" in str(ex.exception))