public void ValidateToken_InvalidToken1_ReturnsFalse() { Assert.AreEqual(false, TokenTextTranslator_Accessor.ValidateToken("@@@1@")); }
public void ValidateToken_NullToken_ReturnsFalse() { Assert.AreEqual(false, TokenTextTranslator_Accessor.ValidateToken(null)); }
public void ValidateToken_ValidToken_ReturnsTrue() { Assert.AreEqual(true, TokenTextTranslator_Accessor.ValidateToken("@@100@@")); }
public void ValidateEvenKeys_NullString_ReturnsFalse() { TokenTextTranslator.SetTokenTextTranslator("@@"); TokenTextTranslator_Accessor.textToTranslate = null; Assert.AreEqual(false, TokenTextTranslator_Accessor.ValidateToken("")); }