コード例 #1
0
 @After
 public void tearDown() {
   serviceRegistry.destroy();
 }
コード例 #2
0
 @Before
 public void setUp() {
   serviceRegistry =
       (BasicServiceRegistryImpl) new ServiceRegistryBuilder().buildServiceRegistry();
   service = serviceRegistry.getService(ClassLoaderService.class);
 }