/** * Checks the partial match getter & setter */ public function testPartialMatch() { self::$geocoderResult->setPartialMatch(false); $this->assertFalse(self::$geocoderResult->isPartialMatch()); $this->setExpectedException('InvalidArgumentException'); self::$geocoderResult->setPartialMatch('foo'); }