 
 
 
+describe 'Z method', ->
+
+  it 'returns an object that is inherited from Q', ->
+    prototypeOfQ = Q.makePromise.prototype
+    x = Z(1)
+    prototypeOfQ.isPrototypeOf(x).should.eql true
+
+
+
 describe 'Q method', ->
 
   describe 'get', ->

chai = require 'chai'
jscov = require 'jscov'
chaiAsPromised = require 'chai-as-promised'

      filtered = arr.get('a')
      bValue.push(3)
      filtered.should.become { b: bValue }

    it 'returns an object that is inherited from Q', ->
      prototypeOfQ = Q.makePromise.prototype
      x = Z({ a: { b: 1 } }).get('a')
      prototypeOfQ.isPrototypeOf(x).should.eql true



