Class SystemOutRule

    • Constructor Detail

      • SystemOutRule

        public SystemOutRule​(Output<? extends OutputStream> output)
        Construct with an alternative Output to use
        Parameters:
        output - the output to write system error to
      • SystemOutRule

        public SystemOutRule​(OutputFactory<? extends OutputStream> outputFactory)
        Construct with a OutputFactory for creating output objects from the existing output
        Parameters:
        outputFactory - the factory to use
      • SystemOutRule

        public SystemOutRule()
        Default constructor, uses a TapStream to tap system out while the rule is active