public function setUp()
    {
        parent::setUp();
        $this->response_with_plugin = <<<EOS
)]}'
{
  "deleteproject": {
    "kind": "gerritcodereview#plugin",
    "id": "deleteproject",
    "version": "v2.8.2"
  },
  "replication": {
    "kind": "gerritcodereview#plugin",
    "id": "replication",
    "version": "v2.8.1"
  }
}
EOS;
        $this->response_without_plugin = <<<EOS
)]}'
{
  "replication": {
    "kind": "gerritcodereview#plugin",
    "id": "replication",
    "version": "v2.8.1"
  }
}
EOS;
    }
 public function setUp()
 {
     parent::setUp();
     $this->user = mock('Git_Driver_Gerrit_User');
     $this->group = 'contributors';
     $this->groupname = $this->project_name . '/' . $this->namespace . '/' . $this->repository_name . '-' . $this->group;
     stub($this->user)->getRealName()->returns('John Doe');
     stub($this->user)->getEmail()->returns('*****@*****.**');
     stub($this->user)->getSSHUserName()->returns($this->username);
 }
 public function setUp()
 {
     parent::setUp();
     $this->group = 'contributors';
     $this->groupname = $this->project_name . '/' . $this->namespace . '/' . $this->repository_name . '-' . $this->group;
 }
 public function setUp()
 {
     parent::setUp();
     $this->gerrit_driver = partial_mock('Git_Driver_GerritREST', array('doesTheGroupExist', 'getGroupUUID'), array($this->guzzle_client, $this->logger));
 }