/** * @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); }
/** * @param int $type * @return string */ public function formatProductType($type) { return $this->quoteProductFormatter->formatType($type); }