|
13 | 13 |
|
14 | 14 | namespace Webmozarts\Console\Parallelization\Input;
|
15 | 15 |
|
16 |
| -use DomainException; |
17 | 16 | use Symfony\Component\Console\Input\InputDefinition;
|
18 | 17 | use Symfony\Component\Console\Input\InputInterface;
|
| 18 | +use Webmozarts\Console\Parallelization\UnexpectedCall; |
19 | 19 |
|
20 | 20 | final class FakeInput81 implements InputInterface
|
21 | 21 | {
|
22 | 22 | public function __call($name, $arguments): void
|
23 | 23 | {
|
24 |
| - throw new DomainException('Not implemented.'); |
| 24 | + throw UnexpectedCall::forMethod(__METHOD__); |
25 | 25 | }
|
26 | 26 |
|
27 | 27 | public function getFirstArgument(): ?string
|
28 | 28 | {
|
29 |
| - throw new DomainException('Not implemented.'); |
| 29 | + throw UnexpectedCall::forMethod(__METHOD__); |
30 | 30 | }
|
31 | 31 |
|
32 | 32 | public function hasParameterOption($values, bool $onlyParams = false): bool
|
33 | 33 | {
|
34 |
| - throw new DomainException('Not implemented.'); |
| 34 | + throw UnexpectedCall::forMethod(__METHOD__); |
35 | 35 | }
|
36 | 36 |
|
37 | 37 | public function getParameterOption(string|array $values, string|bool|int|float|array|null $default = false, bool $onlyParams = false): void
|
38 | 38 | {
|
39 |
| - throw new DomainException('Not implemented.'); |
| 39 | + throw UnexpectedCall::forMethod(__METHOD__); |
40 | 40 | }
|
41 | 41 |
|
42 | 42 | public function bind(InputDefinition $definition): void
|
43 | 43 | {
|
44 |
| - throw new DomainException('Not implemented.'); |
| 44 | + throw UnexpectedCall::forMethod(__METHOD__); |
45 | 45 | }
|
46 | 46 |
|
47 | 47 | public function validate(): void
|
48 | 48 | {
|
49 |
| - throw new DomainException('Not implemented.'); |
| 49 | + throw UnexpectedCall::forMethod(__METHOD__); |
50 | 50 | }
|
51 | 51 |
|
52 | 52 | public function getArguments(): array
|
53 | 53 | {
|
54 |
| - throw new DomainException('Not implemented.'); |
| 54 | + throw UnexpectedCall::forMethod(__METHOD__); |
55 | 55 | }
|
56 | 56 |
|
57 | 57 | public function getArgument(string $name): void
|
58 | 58 | {
|
59 |
| - throw new DomainException('Not implemented.'); |
| 59 | + throw UnexpectedCall::forMethod(__METHOD__); |
60 | 60 | }
|
61 | 61 |
|
62 | 62 | public function setArgument(string $name, $value): void
|
63 | 63 | {
|
64 |
| - throw new DomainException('Not implemented.'); |
| 64 | + throw UnexpectedCall::forMethod(__METHOD__); |
65 | 65 | }
|
66 | 66 |
|
67 | 67 | public function hasArgument(string $name): bool
|
68 | 68 | {
|
69 |
| - throw new DomainException('Not implemented.'); |
| 69 | + throw UnexpectedCall::forMethod(__METHOD__); |
70 | 70 | }
|
71 | 71 |
|
72 | 72 | public function getOptions(): array
|
73 | 73 | {
|
74 |
| - throw new DomainException('Not implemented.'); |
| 74 | + throw UnexpectedCall::forMethod(__METHOD__); |
75 | 75 | }
|
76 | 76 |
|
77 | 77 | public function getOption(string $name): void
|
78 | 78 | {
|
79 |
| - throw new DomainException('Not implemented.'); |
| 79 | + throw UnexpectedCall::forMethod(__METHOD__); |
80 | 80 | }
|
81 | 81 |
|
82 | 82 | public function setOption(string $name, $value): void
|
83 | 83 | {
|
84 |
| - throw new DomainException('Not implemented.'); |
| 84 | + throw UnexpectedCall::forMethod(__METHOD__); |
85 | 85 | }
|
86 | 86 |
|
87 | 87 | public function hasOption(string $name): bool
|
88 | 88 | {
|
89 |
| - throw new DomainException('Not implemented.'); |
| 89 | + throw UnexpectedCall::forMethod(__METHOD__); |
90 | 90 | }
|
91 | 91 |
|
92 | 92 | public function isInteractive(): bool
|
93 | 93 | {
|
94 |
| - throw new DomainException('Not implemented.'); |
| 94 | + throw UnexpectedCall::forMethod(__METHOD__); |
95 | 95 | }
|
96 | 96 |
|
97 | 97 | public function setInteractive(bool $interactive): void
|
98 | 98 | {
|
99 |
| - throw new DomainException('Not implemented.'); |
| 99 | + throw UnexpectedCall::forMethod(__METHOD__); |
100 | 100 | }
|
101 | 101 | }
|
0 commit comments