Ejemplo n.º 1
0
 /**
  * @return void
  */
 public function testGenerateWithPrefix()
 {
     $config = $this->generateConfig();
     $sequenceNumberSettings = $config->getDefaultSettings();
     $sequenceNumberSettings->setPrefix('DE');
     $sequenceNumber = $this->sequenceNumberFacade->generate($sequenceNumberSettings);
     $this->assertSame('DE1', $sequenceNumber);
 }
 public function generate(SequenceNumberSettingsTransfer $sequenceNumberSettings)
 {
     return $this->sequenceNumberFacade->generate($sequenceNumberSettings);
 }