示例#1
0
 public function testFormatAttribute()
 {
     $qp = new QuoteProduct();
     $qp->adjustmentType = 'percent';
     $qp->adjustment = 5;
     $this->assertEquals('5%', $qp->formatAttribute('adjustment'));
 }