### Question:
TransformProcess { public static Builder builder() { return new Builder(); } private  TransformProcess(Builder builder, String... channelNames); void reset(); Observation transform(Map<String, Object> channelsData, int currentObservationStep, boolean isFinalObservation); static Builder builder();  }### Answer:
@Test(expected = IllegalArgumentException.class) public void when_noChannelNameIsSuppliedToBuild_expect_exception() { TransformProcess.builder().build(); }
@Test(expected = NullPointerException.class) public void when_addingNullFilter_expect_nullException() { TransformProcess.builder().filter(null); }
@Test(expected = NullPointerException.class) public void when_addingPreProcessOnNullChannel_expect_nullException() { TransformProcess.builder().preProcess(null, new DataSetPreProcessorMock()); }
@Test(expected = IllegalArgumentException.class) public void when_buildIsCalledWithoutChannelNames_expect_exception() { TransformProcess.builder().build(); }
@Test(expected = NullPointerException.class) public void when_buildIsCalledWithNullChannelName_expect_exception() { TransformProcess.builder().build(null); }