/**
  * {@inheritdoc}
  */
 public function assignTokenValue(OrderInterface $order)
 {
     $order->setTokenValue(uniqid());
 }
 function it_assigns_a_token_value_for_order(OrderInterface $order)
 {
     $order->setTokenValue(Argument::type('string'))->shouldBeCalled();
     $this->assignTokenValue($order);
 }
 /**
  * {@inheritdoc}
  */
 public function assignTokenValue(OrderInterface $order)
 {
     $order->setTokenValue($this->tokenGenerator->generate(10));
 }