public virtual void test_of_list()
        {
            FailureItems test = FailureItems.of(ImmutableList.of(FAILURE1, FAILURE2));

            assertEquals(test.Empty, false);
            assertEquals(test.Failures, ImmutableList.of(FAILURE1, FAILURE2));
        }
        //-------------------------------------------------------------------------
        public virtual void coverage()
        {
            FailureItems test = FailureItems.of(FAILURE1, FAILURE2);

            coverImmutableBean(test);
            FailureItems test2 = FailureItems.EMPTY;

            coverBeanEquals(test, test2);
        }
Пример #3
0
 //-------------------------------------------------------------------------
 /// <summary>
 /// Builds the resulting instance.
 /// </summary>
 /// <returns> the result </returns>
 public FailureItems build()
 {
     return(FailureItems.of(listBuilder.build()));
 }
        public virtual void test_serialization()
        {
            FailureItems test = FailureItems.of(FAILURE1, FAILURE2);

            assertSerialization(test);
        }