/**
  * Determine the kill mail tokens and return the right ones
  *
  * @param string $mail
  * @return Kingboard_KillmailParser_TokenInterface
  */
 public static function findTokensForMail($mail)
 {
     $tokens = new Kingboard_KillmailParser_GermanTokens();
     if (Kingboard_Helper_String::getInstance()->stripos($tokens->involvedParties(), $mail) !== FALSE) {
         return $tokens;
     }
     return new Kingboard_KillmailParser_EnglishTokens();
 }
 public function testInvolvedParties()
 {
     $expected = 'Beteiligte Parteien:';
     $actual = $this->fixture->involvedParties();
     $this->assertEquals($expected, $actual);
 }