Class CipherInformationTest
java.lang.Object
org.apache.kafka.common.network.CipherInformationTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
CipherInformationTest
public CipherInformationTest()
-
-
Method Details
-
testTwoArgConstructorLeavesTenantNull
@Test public void testTwoArgConstructorLeavesTenantNull() -
testThreeArgConstructorWithExplicitTenant
@Test public void testThreeArgConstructorWithExplicitTenant() -
testThreeArgConstructorLeavesNullTenantNull
@Test public void testThreeArgConstructorLeavesNullTenantNull() -
testThreeArgConstructorNormalizesEmptyTenantToNull
@Test public void testThreeArgConstructorNormalizesEmptyTenantToNull() -
testNullAndEmptyCipherProtocolNormalizedToUnknown
@Test public void testNullAndEmptyCipherProtocolNormalizedToUnknown() -
testEqualsRequiresAllThreeFieldsToMatch
@Test public void testEqualsRequiresAllThreeFieldsToMatch() -
testEqualsReturnsFalseWhenOnlyTenantDiffers
@Test public void testEqualsReturnsFalseWhenOnlyTenantDiffers() -
testEqualsReturnsFalseWhenCipherOrProtocolDiffers
@Test public void testEqualsReturnsFalseWhenCipherOrProtocolDiffers() -
testTwoArgAndThreeArgWithNullTenantAreEqual
@Test public void testTwoArgAndThreeArgWithNullTenantAreEqual() -
testNullTenantDiffersFromResolvedTenant
@Test public void testNullTenantDiffersFromResolvedTenant() -
testToStringIncludesAllThreeFields
@Test public void testToStringIncludesAllThreeFields() -
testEqualsWithNullAndDifferentType
@Test public void testEqualsWithNullAndDifferentType()
-