/** * @covers ::__construct * @covers ::configDefaults * @covers ::getMailgun * @group Email */ public function testConstruct() { $mock = \Mockery::mock('Mailgun\\Mailgun'); $object = new Mailgun($mock, $this->getConfig()); $this->assertSame($mock, $object->getMailgun()); }