The second and third examples in `have_secure_password_matcher_spec.rb` cover the first and second cases above respectively.