/** * @test * * @covers Courier::setRegion */ public function setRegionShouldSetOption() { $expect = 'intl'; $courier = new Courier(); $courier->setRegion($expect); $this->assertAttributeEquals(['region' => $expect], 'options', $courier); }