public function testNotAFunctionException() { // Two arrays share the same first number (x-component) $this->setExpectedException('MathPHP\\Exception\\BadDataException'); Interpolation::validate([[0, 0], [0, 5], [1, 1]]); }