/** * @expectedException InvalidArgumentException */ public function testInvalidBySecondTwo() { $test = new When(); $test->bysecond('-1, -2'); }