Class AbstractViewElementBuilderTest<T extends ViewElementBuilderSupport<U,T>,U extends MutableViewElement>

java.lang.Object
com.foreach.across.test.support.AbstractViewElementBuilderTest<T,U>
Type Parameters:
T - ViewElementBuilder implementation extending ViewElementBuilderSupport
U - ViewElement type that is generated by the builder

public abstract class AbstractViewElementBuilderTest<T extends ViewElementBuilderSupport<U,T>,U extends MutableViewElement> extends Object
Base unit test for ViewElementBuilderSupport implementations. Mainly verifies that all implemented methods return the same strongly typed builder instances - unless they are deliberately excepted.

This class is mainly for internal use.

See Also:
  • Field Details

  • Constructor Details

    • AbstractViewElementBuilderTest

      public AbstractViewElementBuilderTest()
  • Method Details

    • reset

      @BeforeEach public void reset()
    • commonProperties

      @Test public void commonProperties()
    • postProcessors

      @Test public void postProcessors()
    • createBuilder

      protected abstract T createBuilder(ViewElementBuilderFactory builderFactory)
    • build

      protected void build()