'age' => 27,
],
[ 'id' => 4,
'name' => 'Paul',
'age' => 26,
],
];
// Verify the result.
$this->
assertCount(3,
$view->result, 'The number of returned rows match.'
);
$this->
assertIdenticalResultSet($view,
$dataset,
[ 'views_test_data_name' => 'name',
'views_test_data_age' => 'age',
]);
} /**
* Tests simple argument.
*/
public function testSimpleArgument() { // Execute with a view
$view = Views::
getView('test_simple_argument'
);