/** * @covers SmsZilla\Adapter\MockAdapter::send */ public function testSend() { $this->object->send($this->message); $this->object->send($this->message); $this->assertCount(2, $this->object->getSentMessages()); $this->assertCount(0, $this->object->getErrors()); }