inputConverter = new InputPeopleConverter(); } /** * Cleans up the environment after running a test. */ protected function tearDown() { $this->inputConverter = null; parent::tearDown(); } public function testConvertAtom() { $this->setExpectedException('apache\shindig\social\service\SocialSpiException'); $this->inputConverter->convertAtom(''); } public function testConvertJson() { $this->setExpectedException('apache\shindig\social\service\SocialSpiException'); $this->inputConverter->convertJson(''); } public function testConvertXml() { $this->setExpectedException('apache\shindig\social\service\SocialSpiException'); $this->inputConverter->convertXml(''); } }