/**
* @expectedException RuntimeException
*/
public function testInvalidReferenceLength()
{
$order = $this->getMock('Sonata\\Component\\Order\\OrderInterface');
$order->expects($this->any())->method('getReference')->will($this->returnValue('12'));
$generator = new OrderScelliusTransactionGenerator();
$generator->generate($order);
}