@Test
public void maxPayloadSizeBadValues() {

	assertThatExceptionOfType(IllegalArgumentException.class)
			.isThrownBy(() -> builder.maxPayloadSize(0))
			.withMessage("maxPayloadSize must be positive");
}