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