diff --git a/Tests/Unit/Document/UrlObjectTest.php b/Tests/Unit/Document/UrlObjectTest.php
index <HASH>..<HASH> 100644
--- a/Tests/Unit/Document/UrlObjectTest.php
+++ b/Tests/Unit/Document/UrlObjectTest.php
@@ -57,7 +57,7 @@ class UrlObjectTest extends \PHPUnit_Framework_TestCase
         $url->setUrl($data['url']);
         $this->assertEquals($data['url'], $url->getUrl());
 
-        $url->setUrlKey($data['key']);
-        $this->assertEquals($data['key'], $url->getUrlKey());
+        $url->setKey($data['key']);
+        $this->assertEquals($data['key'], $url->getKey());
     }
 }
Test fixed for CategoryService
Test updated for UrlObject after change