public final String getPayload() {
    logger.atInfo().log(
        "%s generated payload `%s`, %s use the callback server",
        this.config, this.payload, this.attributes.getUsesCallbackServer() ? "does" : "does not");
    return this.payload;
  }
@Test
  public void getPayload_returnsPayloadString() {
    Validator validator = (unused) -> false;
    Payload payload = new Payload("my-payload", validator, PAYLOAD_ATTRIBUTES, CONFIG);

    assertEquals("my-payload", payload.getPayload());
  }