Class CompositeTestSource

    • Method Detail

      • from

        public static CompositeTestSource from​(java.util.Collection<? extends TestSource> sources)
        Create a new CompositeTestSource based on the supplied collection of sources.

        This constructor makes a defensive copy of the supplied collection and stores the sources as a list in the order in which they are returned by the collection's iterator.

        sources - the collection of sources to store in this CompositeTestSource; never null or empty
      • getSources

        public final java.util.List<TestSource> getSources​()
        Get an immutable list of the sources stored in this CompositeTestSource.
        the sources stored in this CompositeTestSource; never null
      • equals

        public boolean equals​(java.lang.Object obj)
        equals in class java.lang.Object
      • hashCode

        public int hashCode​()
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString​()
        toString in class java.lang.Object