/** * test sanity check min < max with INF */ function testNumberVR_MinMax() { $nvr = new NumberValidationRule('A_Number', null, INF, 0); $this->setExpectedException('RuntimeException'); $nvr->getValid('testNumberVR_MinMax', '0'); }