protected function assertNodeCounter(int
$nid, int
$total_count, int
$day_count, int
$timestamp): void
{ /** @var \Drupal\statistics\StatisticsViewsResult $statistics */
$statistics =
$this->container->
get('statistics.storage.node'
)->
fetchView($nid);
$this->
assertSame($total_count,
$statistics->
getTotalCount());
$this->
assertSame($day_count,
$statistics->
getDayCount());
$this->
assertSame($timestamp,
$statistics->
getTimestamp());
}}