@Test
public void checkTransformerFlows() {

    assertTrue(FlowsValidation.INSTANCE.checkFlows(transformer1, looseConfig, NullWriter.NULL_WRITER));
    assertFalse(FlowsValidation.INSTANCE.checkFlows(transformer1, strictConfig, NullWriter.NULL_WRITER));
    Mockito.when(bus1.isInMainConnectedComponent()).thenReturn(false);
    Mockito.when(bus2.isInMainConnectedComponent()).thenReturn(false);
    assertTrue(FlowsValidation.INSTANCE.checkFlows(transformer1, strictConfig, NullWriter.NULL_WRITER));
}