       expect(-> hydrator.unfolded "not an object").to.not.throw Error
 
 
-  describe "links detection", ->
+  describe "Detection of different node types", ->
 
     describe "#isLink", ->
       hydrator = do getHydrator

      expect(hydrator.getRootElementName spam: Spam: 'SPAM').to.be.equal 'spam'

    it "should return undefined for hashes without single root element", ->
      expect(hydrator.getRootElementName spam: 'SPAM', eggs: 'SPAM').to.be.undefined

    it "should return undefined for empty hashes", ->
      expect(hydrator.getRootElementName {}).to.be.undefined


    it "should extract first element of the collection search link 'rel'", ->
      hydrator = do getHydrator
      expect(hydrator._getSearchOptionCollectionName "api/search")
        .to.be.equal "api"

    it "should return udefined for non searchable paths", ->
      hydrator = do getHydrator
