/** * @param $from * @param $to * @param $value * * @return Fee */ protected function makeFee($from = 0.01, $to = 10.0, $value = '2.34') { return Fee::firstOrCreate(array('amount_from' => $from, 'amount_to' => $to, 'value' => $value, 'term_id' => 123456, 'city_id' => 12, 'cur' => 'rub')); }