Tests the relationship.
public function testRelationship() {
$view = views_get_view('test_groupwise_user');
$this
->executeView($view);
$map = array(
'node_users_nid' => 'nid',
'uid' => 'uid',
);
$expected_result = array(
array(
'uid' => $this->users[1]->uid,
'nid' => $this->nodes[1]->nid,
),
array(
'uid' => $this->users[0]->uid,
'nid' => $this->nodes[0]->nid,
),
);
$this
->assertIdenticalResultset($view, $expected_result, $map);
}