-
- All Implemented Interfaces:
-
com.vaadin.flow.di.Instantiator,java.io.Serializable
public class MockInstantiator implements InstantiatorMakes sure to load MockNpmTemplateParser.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classMockInstantiator.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Instantiatordelegate
-
Constructor Summary
Constructors Constructor Description MockInstantiator(Instantiator delegate)
-
Method Summary
Modifier and Type Method Description final InstantiatorgetDelegate()<T extends Any> TgetOrCreate(Class<T> type)I18NProvidergetI18NProvider()-
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
-
-
Method Detail
-
getDelegate
final Instantiator getDelegate()
-
getOrCreate
<T extends Any> T getOrCreate(Class<T> type)
-
getI18NProvider
I18NProvider getI18NProvider()
-
-
-
-