/** * Create a new ArtifactServiceStager with the specified buffer size. Useful for testing * multi-part uploads. * * @param bufferSize the maximum size of the artifact chunk, in bytes. */ static ArtifactServiceStager overChannel(Channel channel, int bufferSize) { return new ArtifactServiceStager(channel, bufferSize); }