@Test @SuppressWarnings("deprecation") public void backwardCompatibility() { assertThat(SerializationFormat.ofThrift()).containsExactlyInAnyOrder(BINARY, COMPACT, JSON, TEXT); assertThat(SerializationFormat.THRIFT_BINARY).isNotNull(); assertThat(SerializationFormat.THRIFT_COMPACT).isNotNull(); assertThat(SerializationFormat.THRIFT_JSON).isNotNull(); assertThat(SerializationFormat.THRIFT_TEXT).isNotNull(); }