Asserts that the count for hook_views_data either equal or has increased.
bool $equal: Whether to assert that the count should be equal. Defaults to FALSE.
protected function assertCountIncrement($increment = TRUE) {
if ($increment) {
// If an incremented count is expected, increment this now.
$this->count++;
$message = 'hook_views_data has been invoked.';
}
else {
$message = 'hook_views_data has not been invoked';
}
$this
->assertEqual($this->count, $this->state
->get('views_test_data_views_data_count'), $message);
}