| Total Complexity | 3 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | final class DictionaryNotFoundExceptionSpec extends ObjectBehavior |
||
| 11 | { |
||
| 12 | function it_is_initializable() |
||
|
|
|||
| 13 | { |
||
| 14 | $this->beConstructedWith('dico_name'); |
||
| 15 | |||
| 16 | $this->shouldHaveType(DictionaryNotFoundException::class); |
||
| 17 | } |
||
| 18 | |||
| 19 | function it_can_be_build_with_just_a_dictionary_name() |
||
| 24 | } |
||
| 25 | |||
| 26 | function it_can_be_build_with_a_dictionary_name_and_a_list_of_known_dictionaries() |
||
| 33 |
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.