public function itCallIndexOnClientWithRightParametersForEmptyWikiPage()
 {
     stub($this->client)->getMapping()->returns(array());
     stub($this->wiki_page)->getMetadata()->returns(array('mtime' => 1405671338, 'author_id' => null));
     $expected = array(200, 101, array('id' => 101, 'group_id' => 200, 'page_name' => 'page', 'last_modified_date' => '2014-07-18T10:15:38+02:00', 'last_author' => null, 'last_summary' => '', 'content' => '', 'permissions' => array('@site_active')));
     $this->client->expectOnce('index', $expected);
     $this->actions->indexNewEmptyWikiPage($this->wiki_page);
 }