コード例 #1
0
  @Override
  protected void setUp() throws Exception {
    super.setUp();

    facetFactory = new DefaultedFacetAnnotationElseConfigurationFactory();

    ServicesInjector servicesInjector =
        new ServicesInjector(Collections.emptyList(), stubConfiguration);
    servicesInjector.addFallbackIfRequired(ConfigurationServiceInternal.class, stubConfiguration);
    facetFactory.setServicesInjector(servicesInjector);
  }
コード例 #2
0
 @Override
 protected void tearDown() throws Exception {
   facetFactory = null;
   super.tearDown();
 }
コード例 #3
0
  @Override
  protected void setUp() throws Exception {
    super.setUp();

    facetFactory = new PagedFacetOnTypeAnnotationFactory();
  }
コード例 #4
0
  @Override
  protected void setUp() throws Exception {
    super.setUp();

    programmableReflector.setLoadSpecificationStringReturn(customerNoSpec);
  }