ScpClientBuilder extends AbstractEndpointBuilder<ScpClient> { @Override protected ScpClient getEndpoint() { return endpoint; }  ScpClientBuilder portOption(String option); ScpClientBuilder host(String host); ScpClientBuilder port(int port); @Deprecated ScpClientBuilder autoReadFiles(boolean autoReadFiles); ScpClientBuilder username(String username); ScpClientBuilder password(String password); ScpClientBuilder privateKeyPath(String privateKeyPath); ScpClientBuilder privateKeyPassword(String privateKeyPassword); ScpClientBuilder strictHostChecking(boolean strictHostChecking); ScpClientBuilder knownHosts(String knownHosts); ScpClientBuilder correlator(MessageCorrelator correlator); ScpClientBuilder errorHandlingStrategy(ErrorHandlingStrategy errorStrategy); ScpClientBuilder pollingInterval(int pollingInterval); ScpClientBuilder timeout(long timeout);  }
@Test public void testAutoReadFilesDefaultIsTrue(){ final boolean autoReadFiles = scpClientBuilder.getEndpoint().getEndpointConfiguration().isAutoReadFiles(); assertTrue(autoReadFiles); }