public function testNotEnoughArraysException() { // There are not enough arrays in the input $this->setExpectedException('MathPHP\\Exception\\BadDataException'); Interpolation::validate([[0, 0]]); }