Class PreparedTxnStateTest
java.lang.Object
org.apache.kafka.clients.producer.PreparedTxnStateTest
Tests for the PreparedTxnState class part of the #KafkaProducer class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
PreparedTxnStateTest
public PreparedTxnStateTest()
-
-
Method Details
-
testDefaultConstructor
@Test public void testDefaultConstructor() -
testParameterizedConstructor
@Test public void testParameterizedConstructor() -
testDeserializationFromString
@Test public void testDeserializationFromString() -
testRoundTripSerialization
@Test public void testRoundTripSerialization() -
testHandlingOfNullOrEmptyString
@Test public void testHandlingOfNullOrEmptyString() -
testMaxValues
@Test public void testMaxValues() -
testEqualsAndHashCode
@Test public void testEqualsAndHashCode() -
testHasTransaction
@Test public void testHasTransaction() -
testInvalidFormatThrowsException
@Test public void testInvalidFormatThrowsException() -
testInvalidProducerIdEpochCombinations
@Test public void testInvalidProducerIdEpochCombinations()
-