text: var MockServer  = require('mockserver');
  
  module.exports = {
    setUp: function (callback) {
      this.client = require('../../nightwatch.js').init();
  
      callback();
    },
  
    testCommand : function(test) {
      var client = this.client.api;
  
      MockServer.addMock({
        url : '/wd/hub/session/1352110219202/element/0/css/display',
        method:'GET',
        response : JSON.stringify({
          sessionId: '1352110219202',
          status:0,
          value : 'block'
        })
      });
  
      var command = client.getCssProperty('#weblogin', 'display', function callback(result) {
        test.equals(result.value, 'block');
        test.done();
      });
    },
  
    tearDown : function(callback) {
      this.client = null;
      // clean up
      callback();
    }
  };
  