@@ 73-79 (lines=7) @@ | ||
70 | $schedulerDefinition->addMethodCall( |
|
71 | TaskCompilerPass::CREATE_FUNCTION_NAME, |
|
72 | Argument::that( |
|
73 | function ($arguments) { |
|
74 | return |
|
75 | $arguments[0] === 'handler-2' |
|
76 | && $arguments[1] === null |
|
77 | && $arguments[2] === 'daily' |
|
78 | && $arguments[3] === 'test-key'; |
|
79 | } |
|
80 | ) |
|
81 | )->shouldBeCalledTimes(1); |
|
82 | $schedulerDefinition->addMethodCall( |
|
@@ 85-91 (lines=7) @@ | ||
82 | $schedulerDefinition->addMethodCall( |
|
83 | TaskCompilerPass::CREATE_FUNCTION_NAME, |
|
84 | Argument::that( |
|
85 | function ($arguments) { |
|
86 | return |
|
87 | $arguments[0] === 'handler-2' |
|
88 | && $arguments[1] === 'test-workload-2' |
|
89 | && $arguments[2] === 'daily' |
|
90 | && $arguments[3] === 'handler-2_daily_s:15:"test-workload-2";'; |
|
91 | } |
|
92 | ) |
|
93 | )->shouldBeCalledTimes(1); |
|
94 |