Class ModuleTestCase


  • public abstract class ModuleTestCase
    extends ESTestCase
    Base testcase for testing Module implementations.
    • Constructor Detail

      • ModuleTestCase

        public ModuleTestCase()
    • Method Detail

      • assertInstanceBinding

        public <T> void assertInstanceBinding​(Module module,
                                              java.lang.Class<T> to,
                                              java.util.function.Predicate<T> tester)
        Configures the module, and ensures an instance is bound to the "to" class, and the provided tester returns true on the instance.