public function testChiSquaredTestExceptionCountsDiffer() { $observed = [1, 2, 3, 4]; $expected = [1, 2, 3]; $this->setExpectedException('MathPHP\\Exception\\BadDataException'); Significance::chiSquaredTest($observed, $expected); }