public RequestResponseSerializationTest()
 {
     this.producerRequest = SerializationTestUtils.CreateTestProducerRequest();
     this.producerResponse = SerializationTestUtils.CreateTestProducerResponse();
     this.fetchRequest = SerializationTestUtils.CreateTestFetchRequest();
     this.offsetRequest = SerializationTestUtils.CreateTestOffsetRequest();
     this.offsetResponse = SerializationTestUtils.CreateTestOffsetResponse();
     this.topicMetadataRequest = SerializationTestUtils.CreateTestTopicMetadataRequest();
     this.topicMetadataResponse = SerializationTestUtils.CreateTestTopicMetadataResponse();
 }
 protected bool Equals(TopicMetadataResponse other)
 {
     return this.CorrelationId == other.CorrelationId && this.TopicsMetadata.SequenceEqual(other.TopicsMetadata);
 }
Example #3
0
 protected bool Equals(TopicMetadataResponse other)
 {
     return(this.CorrelationId == other.CorrelationId && this.TopicsMetadata.SequenceEqual(other.TopicsMetadata));
 }