createBlockContent(); $expected_result[] = [ 'id' => $block_content->id(), 'type' => $block_content->bundle(), ]; $column_map = [ 'id' => 'id', 'type:target_id' => 'type', ]; $view = Views::getView('test_field_type'); $this->executeView($view); $this->assertIdenticalResultset($view, $expected_result, $column_map, 'The correct block_content type was displayed.'); } }