public function testNoTokens()
 {
     $this->_validator->setTokens(array());
     $this->assertFalse($this->_validator->isValid('test1ing if it works'));
     $messages = $this->_validator->getMessages();
     $this->assertArrayHasKey(App_Validate_StringNotContains::MISSING_TOKENS, $messages);
 }
 public function testDoubleCharStringShortOk()
 {
     $this->assertTrue($this->_validator->isValid("|^€[]"));
 }
 public function testInvalidString2()
 {
     $this->assertFalse($this->_validator->isValid('ASçẁ'));
 }