### Question:
RemoteExecutionBinaryResultInputStream extends InputStream { @Override public boolean markSupported() { return false; } RemoteExecutionBinaryResultInputStream(final IRODSMidLevelProtocol irodsCommands, final int fileDescriptor); int getFileDescriptor(); @Override int available(); @Override void close(); @Override synchronized void mark(final int readlimit); @Override boolean markSupported(); @Override int read(final byte[] b, final int off, final int len); @Override int read(final byte[] b); @Override void reset(); @Override long skip(final long n); @Override int read(); static final Logger log; }### Answer:
@Test public void testMarkSupported() throws Exception { IRODSMidLevelProtocol irodsCommands = Mockito.mock(IRODSMidLevelProtocol.class); IRODSServerProperties irodsServerProperties = IRODSServerProperties.instance(IcatEnabled.ICAT_ENABLED, 0, "rods4.1.9", "xx", "xx"); Mockito.when(irodsCommands.getIRODSServerProperties()).thenReturn(irodsServerProperties); RemoteExecutionBinaryResultInputStream bis = new RemoteExecutionBinaryResultInputStream(irodsCommands, 1); bis.close(); Assert.assertFalse("mark should not be supported", bis.markSupported()); }