public function test_MessageTest__make() { $this->object = new Client($this->queueClient, [Store::MESSAGE_BODY => 'body']); $this->assertInstanceOf('zaboy\\async\\Message\\Client', $this->object); $this->assertTrue($this->object->isId($this->object->getId())); $this->assertEquals('body', $this->object->getBody()); $this->assertEquals(1, $this->object->getStore()->count([Store::QUEUE_ID => $this->queueClient->getId()])); $this->object->remove(); $this->assertEquals(0, $this->queueClient->getNumberMessages()); }