validateLength('foo_len'); } /** * @expectedException \InvalidArgumentException */ public function testALengthThatIsNotAtLeastOneCharacterWillThrow() { $prsg = new MyFooBarPseudoRandomStringGenerator(); $prsg->validateLength(0); } }