Verifies that the fields were mapped correctly.
public function testMappedOutput() {
$view = views_get_view('test_style_mapping');
$output = $this
->mappedOutputHelper($view);
$this
->assertTrue(strpos($output, 'job') === FALSE, 'The job field is added to the view but not in the mapping.');
$view
->destroy();
$view
->setDisplay();
$view->displayHandlers['default']->options['style']['options']['mapping']['name_field'] = 'job';
$output = $this
->mappedOutputHelper($view);
$this
->assertTrue(strpos($output, 'job') !== FALSE, 'The job field is added to the view and is in the mapping.');
}