Total Complexity | 5 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
19 | final class OrderAmountSpec extends ObjectBehavior |
||
20 | { |
||
21 | function it_is_initializable(): void |
||
|
|||
22 | { |
||
23 | $this->shouldHaveType(OrderAmount::class); |
||
24 | } |
||
25 | |||
26 | function it_extends_constraint_class(): void |
||
27 | { |
||
28 | $this->shouldHaveType(Constraint::class); |
||
29 | } |
||
30 | |||
31 | function it_has_a_message(): void |
||
32 | { |
||
33 | $this->maximumAmountMessage->shouldReturn(null); |
||
34 | $this->minimumAmountMessage->shouldReturn(null); |
||
35 | } |
||
36 | |||
37 | function it_is_validate_by_unique_user_email_validator(): void |
||
40 | } |
||
41 | |||
42 | function it_has_targets(): void |
||
45 | } |
||
46 | } |
||
47 |
Adding explicit visibility (
private
,protected
, orpublic
) is generally recommend to communicate to other developers how, and from where this method is intended to be used.