/**
  * @param mixed $inputData
  * @param mixed $expectedData
  *
  * @dataProvider formatTypeProvider
  */
 public function testFormatType($inputData, $expectedData)
 {
     $this->translator->expects($this->any())->method('trans')->with($expectedData);
     $this->formatter->formatType($inputData);
 }
Esempio n. 2
0
 /**
  * @param int $type
  * @return string
  */
 public function formatProductType($type)
 {
     return $this->quoteProductFormatter->formatType($type);
 }