public function testGetSite() { $this->assertInstanceOf('\\Aimeos\\MShop\\Locale\\Item\\Site\\Iface', $this->object->getSite()); $wrongobject = new \Aimeos\MShop\Locale\Item\Standard(); $this->setExpectedException('\\Aimeos\\MShop\\Locale\\Exception'); $wrongobject->getSite(); }