public function testBothifyAsterisk() { $this->assertRegExp('/foo([a-z]|\\d)Ba([a-z]|\\d)r/', BaseProvider::bothify('foo*Ba*r')); }