| @@ 58-70 (lines=13) @@ | ||
| 55 | /** |
|
| 56 | * @inheritdoc |
|
| 57 | */ |
|
| 58 | protected function getExpectations() |
|
| 59 | { |
|
| 60 | return [ |
|
| 61 | 'setName' => [ |
|
| 62 | 'with' => 'config:init', |
|
| 63 | ], |
|
| 64 | 'setAliases' => [ |
|
| 65 | 'with' => [['init']], |
|
| 66 | ], |
|
| 67 | [ 'name' => 'setDescription', |
|
| 68 | 'with' => m::type('string'),] |
|
| 69 | ]; |
|
| 70 | } |
|
| 71 | ||
| 72 | /** |
|
| 73 | * @inheritdoc |
|
| @@ 75-91 (lines=17) @@ | ||
| 72 | * |
|
| 73 | * @return array |
|
| 74 | */ |
|
| 75 | protected function getExpectations() |
|
| 76 | { |
|
| 77 | return [ |
|
| 78 | [ |
|
| 79 | 'name' => 'setName', |
|
| 80 | 'with' => 'config:status', |
|
| 81 | ], |
|
| 82 | [ |
|
| 83 | 'name' => 'setAliases', |
|
| 84 | 'with' => [['status']], |
|
| 85 | ], |
|
| 86 | [ |
|
| 87 | 'name' => 'setDescription', |
|
| 88 | 'with' => m::type('string'), |
|
| 89 | ] |
|
| 90 | ]; |
|
| 91 | } |
|
| 92 | } |
|
| 93 | ||