diff --git a/dialogue-target/src/test/java/com/palantir/dialogue/EmptyBodyTest.java b/dialogue-target/src/test/java/com/palantir/dialogue/EmptyBodyTest.java index 725c36b35..fb054eb0f 100644 --- a/dialogue-target/src/test/java/com/palantir/dialogue/EmptyBodyTest.java +++ b/dialogue-target/src/test/java/com/palantir/dialogue/EmptyBodyTest.java @@ -27,9 +27,7 @@ public final class EmptyBodyTest { @Test public void testSerialization() throws IOException { ByteArrayOutputStream baos = new ByteArrayOutputStream(); - EmptyBody.serializer("application/json") - .serialize(EmptyBody.INSTANCE) - .writeTo(baos); + EmptyBody.serializer("application/json").serialize(EmptyBody.INSTANCE).writeTo(baos); assertThat(baos.toByteArray()).isEmpty(); assertThat(EmptyBody.serializer("application/json") .serialize(EmptyBody.INSTANCE)