public function test_grab_matches_from_last_email_to(\NoGuy $I) { $user = '******'; $this->mail($user, 'Subject Line', 'Hello World!', '*****@*****.**'); $this->mail('*****@*****.**', 'Subject Line', 'Nothing to see here', '*****@*****.**'); $matches = $I->grabMatchesFromLastEmailTo($user, '/Hello (World)/'); $I->assertEquals($matches, array('Hello World', 'World')); }