Class MockAemAdapterFactory

  • All Implemented Interfaces:
    org.apache.sling.api.adapter.AdapterFactory

    @ProviderType
    public final class MockAemAdapterFactory
    extends Object
    implements org.apache.sling.api.adapter.AdapterFactory
    Mock adapter factory for AEM-related adaptions.
    • Constructor Detail

      • MockAemAdapterFactory

        public MockAemAdapterFactory()
    • Method Detail

      • getAdapter

        @Nullable
        public <AdapterType> AdapterType getAdapter​(@NotNull
                                                    @NotNull Object adaptable,
                                                    @NotNull
                                                    @NotNull Class<AdapterType> type)
        Specified by:
        getAdapter in interface org.apache.sling.api.adapter.AdapterFactory