Package 

Class MockInstantiator

  • All Implemented Interfaces:
    com.vaadin.flow.di.Instantiator , java.io.Serializable

    
    public class MockInstantiator
     implements Instantiator
                        

    Makes sure to load MockNpmTemplateParser.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final Instantiator delegate
    • Constructor Summary

      Constructors 
      Constructor Description
      MockInstantiator(Instantiator delegate)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Instantiator getDelegate()
      <T extends Any> T getOrCreate(Class<T> type)
      I18NProvider getI18NProvider()
      • Methods inherited from class com.vaadin.testbench.unit.mocks.MockInstantiator

        createComponent, createRouteTarget, getDependencyFilters, getIndexHtmlRequestListeners, getServiceInitListeners
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait