Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-8021

ComponentsTestUtil should allow to use an extension of MockComponentProvider

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • Yes

      In order to simplify/improve testing the ComponentsTestUtil class should allow to use an alternative class instead of MockComponentProvider. This is currently not possible in a nice way as everything is static and doesn't allow to be extended.

      It would be nice to be able to override this implementation. The attached extension (only meant to be a suggestion) does this using reflections. In essence it's just adding the possibility to configure the MockProvider extension class.

        Acceptance criteria

              Unassigned Unassigned
              costamojan Daniel Kasmeroglu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD