You should always create a test site for testing purposes. If your test site does not have email, but the module you want to test requires it, you have two choices:
[mail function] ; For Win32 only. SMTP = your.ISPs-email-server.tld smtp_port = 25 ; For Win32 only. sendmail_from = your.email.address@example.com