SshValueFunctions { public static Function<SshPollValue, String> stdout() { return new Stdout(); }  static Function<SshPollValue, Integer> exitStatus(); static Function<SshPollValue, String> stdout(); static Function<SshPollValue, String> stderr(); static Function<SshPollValue, Boolean> exitStatusEquals(final int expected);  }
@Test public void testStdout() throws Exception { assertEquals(SshValueFunctions.stdout().apply(val), "mystdout"); }