1 | <?php |
||
8 | class DecimalInternalValidationTest extends TestCase |
||
9 | { |
||
10 | /** |
||
11 | * @expectedException \TypeError |
||
12 | */ |
||
13 | public function testConstructorNullValueValidation() |
||
17 | |||
18 | /** |
||
19 | * @expectedException \InvalidArgumentException |
||
20 | * @expectedExceptionMessage $scale must be a positive integer |
||
21 | */ |
||
22 | public function testConstructorNegativeScaleValidation() |
||
26 | |||
27 | /** |
||
28 | * @expectedException \InvalidArgumentException |
||
29 | * @expectedExceptionMessage $scale must be a positive integer |
||
30 | */ |
||
31 | public function testOperatorNegativeScaleValidation() |
||
37 | } |
||
38 |