public function testGetCcMonths() { $data = [1, 2, 3]; $this->configMock->expects($this->once())->method('getMonths')->willReturn($data); $this->assertEquals($data, $this->model->getCcMonths()); }
/** * Retrieve credit card expire months * * @return array */ protected function getCcMonths() { return $this->ccConfig->getCcMonths(); }