示例#1
0
文件: MoneyTest.php 项目: netteam/ddd
 /**
  * @expectedException \DomainException
  */
 public function testDivideWithInvalidDivisor()
 {
     $m = new Money(1.5, 'EUR');
     $m->divide('1.5');
 }