public function testUnserializeInvalid() { $this->setExpectedException('\\InvalidArgumentException'); $this->object->unserialize('invalid'); }