def METHOD_NAME(self):
    self.invalid_key_message = ""
    pn_fake_key_config = pnconf_copy()
    pn_fake_key_config.publish_key = "fake"
    PubNub(pn_fake_key_config).publish() \
        .channel("ch1") \
        .message("hey") \
        .pn_async(self.callback)
    self.event.wait()
    assert self.status.is_error()
    assert self.status.category is PNStatusCategory.PNBadRequestCategory
    assert self.status.original_response[0] == 0
    assert self.status.original_response[1] == 'Invalid Key'
    assert "HTTP Client Error (400):" in str(self.status.error_data.exception)
    assert "Invalid Key" in str(self.status.error_data.exception)