ResultMatch { public List<String> returnEscapedOutputs() { return output; }  Result getResult(); void setResult(final Result result); Match getMatch(); void setMatch(final Match match); List<Embedding> getEmbeddings(); void setEmbeddings(final List<Embedding> embeddings); List<String> getOutput(); void setOutput(final List<String> output); boolean hasOutputs(); List<String> returnEscapedOutputs(); String getGlueMethodName(); List<Argument> getArguments(); Status getStatus(); String getStatusString(); boolean isFailed(); boolean isPassed(); boolean isSkipped(); Status getConsolidatedStatus(); String getConsolidatedStatusString();  }
@Test public void returnEscapedOutputsTest(){ List<String> output = new ArrayList<>(); output.add("Testäöüß"); resultMatch.setOutput(output); assertThat(resultMatch.returnEscapedOutputs().get(0), is("Testäöüß")); }