Example #1
0
 public function test_call_to_anything()
 {
     $this->register_soap_with_diesel();
     $this->configure_login(array(array('getIssue', array($this->t, 'BOX-1234'), array('id' => 1234)), array('getIssueById', array($this->t, 'BOX-1235'), array('id' => 1234))));
     $c = new Client($this->u, $this->p, $this->opts);
     $issue = $c->getIssue('BOX-1234');
     $this->assertEquals(1234, $issue['id'], 'Client did not return issue');
     $issue = $c->getIssueById('BOX-1235');
     $this->assertEquals(1234, $issue['id'], 'Client did not return issue');
 }