def test_plaintext_password_is_the_hashed_one():
    """Testing the class method."""
    user = User(username='******', password='******')
    assert user.is_password_correct('123')