public function testCommandReply() { $commandId1 = Uuid::uuid1()->toString(); $commandId2 = Uuid::uuid1()->toString(); $this->testSubject->writeCommandReply($commandId1, $commandId1); $data = $this->testSubject->readCommandReply($commandId1); $this->assertEquals($commandId1, $data[1]); $data = $this->testSubject->readCommandReply($commandId2, 1); $this->assertNull($data); }