### Question:
GetOutputStateFunction extends AbstractFunction { @Override protected Object execute(List<Object> arguments) { return OutputState.lookupSakuliState((SakuliState) arguments.get(0)); }  @Override String name();  }### Answer:
@Test(dataProvider = "getOutputStateDP") public void getOutputState(SakuliState state, OutputState expectedOutputState) { GetOutputStateFunction getOutputStateFunction = new GetOutputStateFunction(); assertEquals(getOutputStateFunction.execute(Arrays.asList(state)), expectedOutputState); }