# Uses of Class
org.apache.sling.testing.mock.sling.junit5.SlingContextBuilder

## Uses of SlingContextBuilder in org.apache.sling.testing.mock.sling.junit5

Methods in org.apache.sling.testing.mock.sling.junit5 that return SlingContextBuilder
Modifier and Type
Method
Description
`final SlingContextBuilder`
SlingContextBuilder.`afterSetUp(@NotNull org.apache.sling.testing.mock.osgi.context.ContextCallback<? extends org.apache.sling.testing.mock.osgi.context.OsgiContextImpl> @NotNull ... afterSetUpCallback)`
`final SlingContextBuilder`
SlingContextBuilder.`afterTearDown(@NotNull org.apache.sling.testing.mock.osgi.context.ContextCallback<? extends org.apache.sling.testing.mock.osgi.context.OsgiContextImpl> @NotNull ... afterTearDownCallback)`
`final SlingContextBuilder`
SlingContextBuilder.`beforeSetUp(@NotNull org.apache.sling.testing.mock.osgi.context.ContextCallback<? extends org.apache.sling.testing.mock.osgi.context.OsgiContextImpl> @NotNull ... beforeSetUpCallback)`
`final SlingContextBuilder`
SlingContextBuilder.`beforeTearDown(@NotNull org.apache.sling.testing.mock.osgi.context.ContextCallback<? extends org.apache.sling.testing.mock.osgi.context.OsgiContextImpl> @NotNull ... beforeTearDownCallback)`
`final SlingContextBuilder`
SlingContextBuilder.`plugin(@NotNull org.apache.sling.testing.mock.osgi.context.ContextPlugin<? extends org.apache.sling.testing.mock.osgi.context.OsgiContextImpl> @NotNull ... plugin)`
`SlingContextBuilder`
SlingContextBuilder.`registerSlingModelsFromClassPath(boolean value)`
Automatic registering of all Sling Models found in the classpath on startup (active by default).
`SlingContextBuilder`
SlingContextBuilder.`resourceResolverFactoryActivatorProps(@NotNull Map<String,Object> props)`
Allows to override OSGi configuration parameters for the Resource Resolver Factory Activator service.
`SlingContextBuilder`
SlingContextBuilder.`resourceResolverType(@NotNull org.apache.sling.testing.mock.sling.ResourceResolverType type)`