Пример #1
0
 /**
  * @test
  */
 public function getWsUrlShouldGetTheWsUrlFromTheEnvironmentAppendingEmailAndTokenAsGetParams()
 {
     $credentials = new Credentials('*****@*****.**', 'testing', $this->environment);
     $this->assertEquals('https://ws.test.com/test?page=1&email=contato%40phpsc.com.br&token=testing', $credentials->getWsUrl('/test', ['page' => '1']));
 }