Write tests first (TDD)
Mocking is okay, but don't go crazy with it (Closures, etc)
MailTheif - https://github.com/tightenco/mailthief
Set up, Do, Check. Try to give your tests similar patterns
Write tests first (TDD)
Mocking is okay, but don't go crazy with it (Closures, etc)
MailTheif - https://github.com/tightenco/mailthief
Set up, Do, Check. Try to give your tests similar patterns