### Question:
SynchronousExecResult implements ExecResult { @Override public final int getExitStatus() { return exitStatus; } SynchronousExecResult(final OutputStream stdOut, final int exitStatus); @Override boolean isFinished(); @Override boolean isSuccessful(); @Override String getStdOutResult(); @Override final int getExitStatus(); @Override final String toString();  }### Answer:
@Test public final void testGetExitStatus() { Assert.assertEquals( new SynchronousExecResult(getTestOutputStream(), EXIT_STATUS).getExitStatus(), EXIT_STATUS ); }