/** * @test */ public function hasCountryWithCountryReturnsTrue() { /** @var tx_oelib_Mapper_Country $mapper */ $mapper = Tx_Oelib_MapperRegistry::get('tx_oelib_Mapper_Country'); /** @var Tx_Oelib_Model_Country $country */ $country = $mapper->find(54); $this->subject->setCountry($country); self::assertTrue($this->subject->hasCountry()); }