use of com.thoughtworks.studios.shine.io.StringOutputStream in project gocd by gocd.
the class KillAllChildProcessTaskBuilderTest method builderReturnedByThisTaskBuilderShouldBeSerializable.
@Test
public void builderReturnedByThisTaskBuilderShouldBeSerializable() throws Exception {
KillAllChildProcessTaskBuilder killAllChildProcessTaskBuilder = new KillAllChildProcessTaskBuilder();
Builder builder = killAllChildProcessTaskBuilder.createBuilder(null, null, null, null);
new ObjectOutputStream(new StringOutputStream()).writeObject(builder);
}
Aggregations