/**
  * Order count report view
  *
  * @param Customer $customer
  * @param string $orders
  * @param array $report
  * @param FixtureFactory $fixtureFactory
  * @return array
  */
 public function test(Customer $customer, $orders, array $report, FixtureFactory $fixtureFactory)
 {
     // Precondition
     $customer->persist();
     $orders = explode(',', $orders);
     foreach ($orders as $order) {
         $order = $fixtureFactory->createByCode('orderInjectable', ['dataSet' => $order, 'data' => ['customer_id' => ['customer' => $customer]]]);
         $order->persist();
     }
     // Steps
     $this->customerOrdersReport->open();
     $this->customerOrdersReport->getFilterBlock()->viewsReport($report);
     $this->customerOrdersReport->getFilterBlock()->refreshFilter();
     return ['customer' => $customer];
 }