Esempio n. 1
0
 public function testAsciifyReturnsStringWithStarSignsReplacedByAsciiChars()
 {
     $this->assertRegExp('/foo.Ba.r/', BaseProvider::asciify('foo*Ba*r'));
 }
Esempio n. 2
0
 public function testAsciifyReturnsSameStringWhenItContainsNoStarSign()
 {
     $this->assertEquals('fooBar?', BaseProvider::asciify('fooBar?'));
 }