/** * @param mixed $originalCode * @param string $expectedCode * @dataProvider getCodeDataProvider */ public function testGetCode($originalCode, $expectedCode) { $this->_model->setCode($originalCode); $this->assertSame($expectedCode, $this->_model->getCode()); }