 JCredential      = require './credential'
 JCredentialData  = require './credentialdata'
-{ Relationship } = require 'jraphical'
 { daisy
   expect
+  expectRelation
   withDummyClient
   withConvertedUser
   expectAccessDenied

            targetName : 'JCredential'
            sourceName : 'JAccount'

          Relationship.one options, (err, relationship) ->
            expect(err).to.not.exist
            expect(relationship).to.exist
            expect(relationship.sourceId).to.be.deep.equal anotherAccount._id
            queue.next()


            targetName : 'JCredential'
            sourceName : 'JAccount'

          expectRelation.toExist options, (relationship) ->
            expect(relationship.sourceId).to.be.deep.equal anotherAccount._id
            queue.next()

