@@ -227,7 +227,7 @@ public void testExecute() throws Exception {
227227 when (action .type ()).thenReturn ("MY_AWESOME_TYPE" );
228228 when (action .execute ("_action" , context , payload )).thenReturn (actionResult );
229229
230- ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null );
230+ ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null , null );
231231
232232 WatchStatus watchStatus = new WatchStatus (now , singletonMap ("_action" , new ActionStatus (now )));
233233
@@ -313,7 +313,7 @@ public void testExecuteFailedInput() throws Exception {
313313 ExecutableAction action = mock (ExecutableAction .class );
314314 when (action .execute ("_action" , context , payload )).thenReturn (actionResult );
315315
316- ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null );
316+ ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null , null );
317317 WatchStatus watchStatus = new WatchStatus (now , singletonMap ("_action" , new ActionStatus (now )));
318318
319319 when (watch .input ()).thenReturn (input );
@@ -378,7 +378,7 @@ public void testExecuteFailedCondition() throws Exception {
378378 ExecutableAction action = mock (ExecutableAction .class );
379379 when (action .execute ("_action" , context , payload )).thenReturn (actionResult );
380380
381- ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null );
381+ ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null , null );
382382 WatchStatus watchStatus = new WatchStatus (now , singletonMap ("_action" , new ActionStatus (now )));
383383
384384 when (watch .input ()).thenReturn (input );
@@ -442,7 +442,7 @@ public void testExecuteFailedWatchTransform() throws Exception {
442442 ExecutableAction action = mock (ExecutableAction .class );
443443 when (action .execute ("_action" , context , payload )).thenReturn (actionResult );
444444
445- ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null );
445+ ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null , null );
446446 WatchStatus watchStatus = new WatchStatus (now , singletonMap ("_action" , new ActionStatus (now )));
447447
448448 when (watch .input ()).thenReturn (input );
@@ -520,7 +520,7 @@ public void testExecuteFailedActionTransform() throws Exception {
520520 when (action .logger ()).thenReturn (logger );
521521 when (action .execute ("_action" , context , payload )).thenReturn (actionResult );
522522
523- ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null );
523+ ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null , null );
524524
525525 WatchStatus watchStatus = new WatchStatus (now , singletonMap ("_action" , new ActionStatus (now )));
526526
@@ -600,7 +600,7 @@ public void testExecuteInner() throws Exception {
600600 ExecutableAction action = mock (ExecutableAction .class );
601601 when (action .execute ("_action" , context , payload )).thenReturn (actionResult );
602602
603- ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null );
603+ ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null , null );
604604 ZonedDateTime time = clock .instant ().atZone (ZoneOffset .UTC );
605605 WatchStatus watchStatus = new WatchStatus (time , singletonMap ("_action" , new ActionStatus (now )));
606606
@@ -649,7 +649,7 @@ public void testExecuteInnerThrottled() throws Exception {
649649
650650 ExecutableAction action = mock (ExecutableAction .class );
651651 when (action .type ()).thenReturn ("_type" );
652- ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null );
652+ ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null , null );
653653 ZonedDateTime time = clock .instant ().atZone (ZoneOffset .UTC );
654654 WatchStatus watchStatus = new WatchStatus (time , singletonMap ("_action" , new ActionStatus (now )));
655655
@@ -712,7 +712,7 @@ public void testExecuteInnerConditionNotMet() throws Exception {
712712
713713 ExecutableAction action = mock (ExecutableAction .class );
714714 when (action .type ()).thenReturn ("_type" );
715- ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null );
715+ ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null , null );
716716 ZonedDateTime time = clock .instant ().atZone (ZoneOffset .UTC );
717717 WatchStatus watchStatus = new WatchStatus (time , singletonMap ("_action" , new ActionStatus (now )));
718718
@@ -769,7 +769,7 @@ public void testExecuteInnerConditionNotMetDueToException() throws Exception {
769769 ExecutableAction action = mock (ExecutableAction .class );
770770 when (action .type ()).thenReturn ("_type" );
771771 when (action .logger ()).thenReturn (logger );
772- ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null );
772+ ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null , null );
773773 ZonedDateTime time = clock .instant ().atZone (ZoneOffset .UTC );
774774 WatchStatus watchStatus = new WatchStatus (time , singletonMap ("_action" , new ActionStatus (now )));
775775
@@ -817,7 +817,7 @@ public void testExecuteConditionNotMet() throws Exception {
817817 ExecutableCondition actionCondition = mock (ExecutableCondition .class );
818818 ExecutableTransform actionTransform = mock (ExecutableTransform .class );
819819 ExecutableAction action = mock (ExecutableAction .class );
820- ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null );
820+ ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , actionCondition , actionTransform , action , null , null );
821821
822822 ZonedDateTime time = clock .instant ().atZone (ZoneOffset .UTC );
823823 WatchStatus watchStatus = new WatchStatus (time , singletonMap ("_action" , new ActionStatus (now )));
@@ -946,7 +946,7 @@ public void testThatTriggeredWatchDeletionHappensOnlyIfWatchExists() throws Exce
946946 when (action .type ()).thenReturn ("MY_AWESOME_TYPE" );
947947 when (action .execute ("_action" , context , payload )).thenReturn (actionResult );
948948
949- ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , null , null , action , null );
949+ ActionWrapper actionWrapper = new ActionWrapper ("_action" , throttler , null , null , action , null , null );
950950
951951 WatchStatus watchStatus = new WatchStatus (now , singletonMap ("_action" , new ActionStatus (now )));
952952
0 commit comments