public function testGravatarExists()
 {
     $api = new GravatarApi();
     $this->assertFalse($api->exists('*****@*****.**'));
     $this->assertTrue($api->exists('*****@*****.**'));
 }
示例#2
0
 /**
  * {@inheritdoc}
  */
 public function exists($email)
 {
     return $this->api->exists($email);
 }