Ejemplo n.º 1
0
 public function testServiceUrl()
 {
     $service = new Service(array('size' => 999, 'rating' => Service::RATING_PG, 'default' => Service::DEFAULT_MM));
     $url = $service->get('*****@*****.**', array('size' => 666, 'default' => Service::DEFAULT_MI, 'secure' => true));
     $this->assertContains('https://', $url);
     $this->assertContains('r=pg', $url);
     $this->assertContains('s=666', $url);
     $this->assertContains('d=monsterid', $url);
 }
Ejemplo n.º 2
0
 /**
  *
  * @param string $email
  * @param array $options
  * @return string
  */
 public function get($email, array $options = array())
 {
     return $this->service->get($email, $options);
 }