public final PayloadAttributes getPayloadAttributes() {
    return this.attributes;
  }
@Test
  public void getPayloadAttributes_returnsPayloadAttributes() {
    Validator validator = (unused) -> false;
    Payload payload = new Payload("my-payload", validator, PAYLOAD_ATTRIBUTES, CONFIG);

    assertEquals(payload.getPayloadAttributes(), PAYLOAD_ATTRIBUTES);
  }