public function testCanCheckIfIsEmail() { $this->assertTrue(String::isEmail('*****@*****.**')); $this->assertFalse(String::isEmail('foobar')); }