Class TestableIterableOnlyTestContract

java.lang.Object
org.soliscode.test.OptionalMethodSupport
org.soliscode.test.AbstractTest
org.soliscode.test.collection.TestableIterableOnlyTestContract
  • Constructor Details

    • TestableIterableOnlyTestContract

      public TestableIterableOnlyTestContract()
  • Method Details

    • provider

      @NotNull public @NotNull CollectionProvider<Integer,Iterable<Integer>> provider()
      Specified by:
      provider in interface CollectionProviderSupport<Integer,Iterable<Integer>>
      Specified by:
      provider in interface ProviderSupport<Iterable<Integer>>
    • testOf0

      @Test @DisplayName("Test that of with no parameters creates an empty iterable") public void testOf0()
    • testOf1

      @Test @DisplayName("Test that of with one parameters creates an iterable with one element") public void testOf1()
    • testOf2

      @Test @DisplayName("Test that of with two parameters creates an iterable with two elements") public void testOf2()
    • testOf3

      @Test @DisplayName("Test that of with three parameters creates an iterable with three elements") public void testOf3()
    • testOf4

      @Test @DisplayName("Test that of with four parameters creates an iterable with four elements") public void testOf4()
    • testOfWithArray

      @Test @DisplayName("Test that of works with an array of integer") public void testOfWithArray()