Ejemplo n.º 1
0
 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();
 }
Ejemplo n.º 2
0
 protected bool Equals(TopicMetadataResponse other)
 {
     return this.CorrelationId == other.CorrelationId && this.TopicsMetadata.SequenceEqual(other.TopicsMetadata);
 }
Ejemplo n.º 3
0
 protected bool Equals(TopicMetadataResponse other)
 {
     return(this.CorrelationId == other.CorrelationId && this.TopicsMetadata.SequenceEqual(other.TopicsMetadata));
 }