Tests the relationship.
public function testRelationship() {
$view = views_get_view('test_groupwise_term');
$this
->executeView($view);
$map = array(
'node_taxonomy_term_data_nid' => 'nid',
'tid' => 'tid',
);
$expected_result = array(
array(
'nid' => $this->nodes[1]->nid,
'tid' => $this->term2->tid,
),
array(
'nid' => $this->nodes[1]->nid,
'tid' => $this->term1->tid,
),
);
$this
->assertIdenticalResultset($view, $expected_result, $map);
}