diff --git a/test/php/library/Businessprocess/HostNodeTest.php b/test/php/library/Businessprocess/HostNodeTest.php index 7db45db..dd1c01a 100644 --- a/test/php/library/Businessprocess/HostNodeTest.php +++ b/test/php/library/Businessprocess/HostNodeTest.php @@ -17,10 +17,18 @@ class HostNodeTest extends BaseTestCase ); } - public function testReturnsCorrectAlias() + public function testReturnsCorrectIdentifierWhenCastedToString() { $this->assertEquals( 'localhost;Hoststatus', + (string) $this->localhost() + ); + } + + public function testReturnsCorrectAlias() + { + $this->assertEquals( + 'localhost', $this->localhost()->getAlias() ); }