RepositoryFactoryBuilder implements Start, DataFunctionsAnd, DataStoresAnd, EventListenerAnd, MappingContextAnd, OperatorsAnd,
                   ResultAdaptersAnd, OperationHandlersAnd { public static RepositoryFactory defaultFactory() { return new DefaultRepositoryFactory(defaultConfiguration()); } private  RepositoryFactoryBuilder(); static RepositoryFactoryConfiguration defaultConfiguration(); static Start builder(); static Start given(RepositoryFactoryConfiguration configuration); static RepositoryFactory defaultFactory(); @Override QueryDescriptionConfigurer resolveMetadataUsing(RepositoryMetadataResolver metadataResolver); @Override DataFunctions withOperators(OperatorContext context); @Override OperatorsAnd registerOperator(Operator operator); @Override DataFunctions extractQueriesUsing(MethodQueryDescriptionExtractor extractor); @Override DataStores withDataFunctions(DataFunctionRegistry registry); @Override DataFunctionsAnd registerFunction(String name, DataFunction<R> function); @Override ResultAdapters withDataStores(DataStoreRegistry registry); @Override DataStoresAnd registerDataStore(DataStore<K, E> dataStore); @Override MappingContext withAdapters(ResultAdapterContext context); @Override ResultAdaptersAnd adaptResultsUsing(ResultAdapter<E> adapter); @Override EventListener withMappings(TypeMappingContext context); @Override MappingContextAnd honoringImplementation(Class<?> superType, Class<?> implementation); @Override FallbackKeyGenerator withOperationHandlers(NonDataOperationInvocationHandler invocationHandler); @Override OperationHandlersAnd withOperationHandler(NonDataOperationHandler handler); @Override End withListeners(DataStoreEventListenerContext context); @Override EventListenerAnd withListener(DataStoreEventListener<E> listener); @Override EventListener enableAuditing(AuditorAware auditorAware); @Override EventListener enableAuditing(); @Override DataFunctionsAnd and(String name, DataFunction<R> function); @Override DataStoresAnd and(DataStore<K, E> dataStore); @Override OperationHandlersAnd and(NonDataOperationHandler handler); @Override EventListener withDefaultKeyGenerator(KeyGenerator<?> keyGenerator); @Override EventListenerAnd and(DataStoreEventListener<E> listener); @Override MappingContextAnd and(Class<?> superType, Class<?> implementation); @Override OperatorsAnd and(Operator operator); @Override ResultAdaptersAnd and(ResultAdapter<E> adapter); @Override RepositoryFactory build(); @Override RepositoryFactoryConfiguration configure(); @Override Implementation generateKeysUsing(KeyGenerator<S> keyGenerator); @Override Implementation generateKeysUsing(Class<G> generatorType); @Override Implementation withoutGeneratingKeys(); @Override ImplementationAnd usingImplementation(Class<?> implementation); @Override E mock(Class<E> repositoryInterface); static final String DEFAULT_USER; }
@Test public void testDefaultFactory() { final RepositoryFactory factory = RepositoryFactoryBuilder.defaultFactory(); assertThat(factory, is(notNullValue())); }