public function testArrayAccessInterfaceOffsetSet() { $this->setExpectedException('MathPHP\\Exception\\VectorException'); $this->vector[0] = 1; }