From ca7d633137ad35daaf6ef869da2a1ac5aaaaa21f Mon Sep 17 00:00:00 2001 From: Sergii Zhevzhyk Date: Sun, 29 Nov 2020 19:59:47 +0100 Subject: [PATCH] Add unit test for idempotentRestPublishing in ClientOptions --- .../io/ably/lib/types/ClientOptionsTest.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 lib/src/test/java/io/ably/lib/types/ClientOptionsTest.java diff --git a/lib/src/test/java/io/ably/lib/types/ClientOptionsTest.java b/lib/src/test/java/io/ably/lib/types/ClientOptionsTest.java new file mode 100644 index 000000000..3d482d95d --- /dev/null +++ b/lib/src/test/java/io/ably/lib/types/ClientOptionsTest.java @@ -0,0 +1,16 @@ +package io.ably.lib.types; + +import static org.junit.Assert.assertTrue; + +import org.junit.Test; + +public class ClientOptionsTest { + + private final ClientOptions clientOptions = new ClientOptions(); + + @Test + public void should_support_idempotent_rest_publishing() { + // Then + assertTrue(clientOptions.idempotentRestPublishing); + } +}