| Total Complexity | 5 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | final class CurrencySpec extends ObjectBehavior |
||
| 20 | { |
||
| 21 | function it_is_initializable(): void |
||
|
|
|||
| 22 | { |
||
| 23 | $this->shouldHaveType(Currency::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 |
||
| 34 | } |
||
| 35 | |||
| 36 | function it_is_validate_by_unique_user_email_validator(): void |
||
| 37 | { |
||
| 38 | $this->validatedBy()->shouldReturn('bitbag_sylius_quadpay_plugin_currency'); |
||
| 39 | } |
||
| 40 | |||
| 41 | function it_has_targets(): void |
||
| 44 | } |
||
| 45 | } |
||
| 46 |
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.