def METHOD_NAME(monkeypatch):
    win_creds = [WindowsCredentials(username="user", password="secret", ntlm_hash="", lm_hash="")]
    patch_pypykatz(win_creds, monkeypatch)
    username = Username(username="user")
    password = Password(password="secret")
    expected_credentials = Credentials(identity=username, secret=password)
    collected_credentials = collect_credentials()
    assert len(collected_credentials) == 1
    assert collected_credentials[0] == expected_credentials