public function testArrayAccessInterfaceOffsetSet() { $this->setExpectedException('MathPHP\\Exception\\MatrixException'); $this->matrix[0] = [4, 3, 5]; $this->assertTrue($this->matrix->offsetExists(0)); }