def METHOD_NAME(self, service_response_mock):
    service_response_mock.return_value = "NotImplementedLocally"
    response = LambdaErrorResponses.not_implemented_locally("NotImplementedLocally")
    self.assertEqual(response, "NotImplementedLocally")
    service_response_mock.assert_called_once_with(
        '{"Type": "LocalService", "Message": "NotImplementedLocally"}',
        {"x-amzn-errortype": "NotImplemented", "Content-Type": "application/json"},
        501,
    )