/** * @expectedException Ivory\GoogleMap\Exception\PlaceException * @expectedExceptionMessage The place autocomplete component restriction type "country" does not exist. */ public function testRemoveComponentRestrictionWithNonExistingComponentRestriction() { $this->autocomplete->removeComponentRestriction(AutocompleteComponentRestriction::COUNTRY); }