public function test_invalidCountyCode_throwsException($value) { $this->setExpectedException('InvalidArgumentException'); $this->faker->cnp(null, null, $value); }