@Test
public void testSetInputs() {

	final Operator<?> input1 = new OpImpl(0);
	final Operator<?> input2 = new OpImpl(1);
	final Operator<?> fixture = new OpImpl(0).withInputs(input1, input2);
	final Operator<?> newInput = new OpImpl(2);
	final List<JsonStream> inputs = new ArrayList<JsonStream>();
	inputs.add(newInput);
	fixture.setInputs(inputs);
	assertEquals(1, fixture.getInputs().size());
	final List<JsonStream> expectedResults = new ArrayList<JsonStream>();
	expectedResults.add(newInput.getOutput(0));
	assertEquals(expectedResults, fixture.getInputs());
}