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