23 private $agentId = 1243;
24 private $agentName =
"<agentName>";
25 private $agentRevision =
"<agentRevision";
29 protected function setUp()
31 $this->agentRef =
new AgentRef($this->agentId, $this->agentName, $this->agentRevision);
34 public function testGetAgentId()
36 assertThat($this->agentRef->getAgentId(), is($this->agentId));
39 public function testGetAgentName()
41 assertThat($this->agentRef->getAgentName(), is($this->agentName));
44 public function testGetAgentRevision()
46 assertThat($this->agentRef->getAgentRevision(), is($this->agentRevision));
49 public function testToString()
51 assertThat(strval($this->agentRef), is(
"AgentRef(1243, <agentName>, <agentRevision)"));