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