/** * @return void */ public function testGetIdByIso2CodeReturnsRightValue() { $country = new SpyCountry(); $country->setIso2Code(self::ISO2_CODE); $country->save(); $this->assertEquals($country->getIdCountry(), $this->countryFacade->getIdCountryByIso2Code(self::ISO2_CODE)); }