public function testDescriptionClassSetterThrowsExceptionOnBadClassnameProvided() { $this->setExpectedException("InvalidArgumentException"); Service::setDescriptionClass("stdClass"); }