private ActionUnderTest theAgentSearchesForTheServiceProblemUsingDirectoryNumber() { return (interestingGivens, capturedInputAndOutputs) -> { supermanApp.appContainer().searchPanel().searchFor(serviceProblem.getDirectoryNumber()); return capturedInputAndOutputs; }; }
private ActionUnderTest theAgentSearchesForTheServiceProblemUsingAServiceId() { return (givens, capturedInputAndOutputs) -> { supermanApp.appContainer().searchPanel().searchFor(serviceProblem.serviceId()); return capturedInputAndOutputs; }; }