public void TestEncodPassword_Error() { const string expectedDecodePassword = "******"; var result = PasswordUtils.Encode(testStr); Assert.AreEqual(expectedDecodePassword, result, "Значения не совпали"); }
public void TestEncodPassword_Error_v2() { const string expectedDecodePassword = "******"; var result = PasswordUtils.Encode(testStr); StringAssert.Contains(expectedDecodePassword, result); }
public void TestEncodePassword_Successful() { const string expectedDecodePassword = "******"; var result = PasswordUtils.Encode(testStr); Assert.AreEqual(expectedDecodePassword, result, "Корректный результат"); }