     id = "00000000-0000-0000-0000-000000000000"
 
     it "should return true if subject is a resource link", ->
-      subject = $: id: "id", href: "/href/#{id}"
       expect(hydrator.isResourceLink id: "id", href: "/href/#{id}").to.be.true
 
     it "should omit the root element", ->



  describe.skip "#getHydratedProperties", ->
    # @todo Add tests for .getHydratedProperties()


  describe.skip "#hydrateProperty", ->
    # @todo Add tests for .hydrateProperty()


  describe "#isLink", ->



  describe.skip "#_addSpecialObject", ->
    it "should be completed", ->


  describe.skip "#_setupCollections", ->
    it "should be completed", ->


  describe.skip "#_findCollections", ->
    it "should be completed", ->


  describe.skip "#_hydrateArray", ->
    it "should be completed", ->


  describe.skip "#_mergeAttributes", ->
    it "should be completed", ->


  describe.skip "#_removeSpecialProperties", ->
    it "should be completed", ->


  describe.skip "#_hydrateHash", ->
    it "should be completed", ->


  describe "#_setupResource", ->
    it "should return OVirtResource instance", ->
      hydrator = do getHydrator
      expect(hydrator._setupResource {}).to.be.an.instanceOf OVirtResource

    it.skip "should treat attributes as a properties", ->

    it.skip "should keep passed parameter untoched", ->


  describe "#_getSearchOptionCollectionName", ->
