This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit d4ed706376a7948e5b4db9256dd4ca3682d81749 Author: Otavio Rodolfo Piske <angusyo...@gmail.com> AuthorDate: Tue Apr 12 13:54:12 2022 +0200 CAMEL-17763: cleanup unused exceptions in camel-jcache --- .../component/jcache/JCacheConfigurationTest.java | 2 +- .../camel/component/jcache/JCacheConsumerTest.java | 4 ++-- .../camel/component/jcache/JCacheManagerTest.java | 2 +- .../component/jcache/JCacheProducerClearTest.java | 2 +- .../component/jcache/JCacheProducerGetTest.java | 2 +- .../component/jcache/JCacheProducerInvokeTest.java | 2 +- .../component/jcache/JCacheProducerPutTest.java | 2 +- .../component/jcache/JCacheProducerRemoveTest.java | 2 +- .../component/jcache/JCacheProducerReplaceTest.java | 2 +- .../jcache/policy/CacheManagerFromRegistryTest.java | 6 +++--- .../jcache/policy/JCachePolicyProcessorTest.java | 20 ++++++++++---------- .../component/jcache/policy/JCachePolicyTest.java | 18 +++++++++--------- .../jcache/policy/SpringJCachePolicyTest.java | 8 ++++---- .../JCacheAggregationRepositoryRoutesTest.java | 4 ++-- .../JCacheAggregationRepositoryTestSupport.java | 2 +- .../idempotent/JCacheIdempotentRepositoryTest.java | 12 ++++++------ .../component/jcache/support/HazelcastTest.java | 4 ++-- 17 files changed, 47 insertions(+), 47 deletions(-) diff --git a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheConfigurationTest.java b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheConfigurationTest.java index e56d21dfbb9..4c3c3f0cc2c 100644 --- a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheConfigurationTest.java +++ b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheConfigurationTest.java @@ -68,7 +68,7 @@ public class JCacheConfigurationTest extends JCacheComponentTestSupport { } @Override - protected RouteBuilder createRouteBuilder() throws Exception { + protected RouteBuilder createRouteBuilder() { return new RouteBuilder() { public void configure() { from(from).to(to); diff --git a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheConsumerTest.java b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheConsumerTest.java index 49f3598c116..786182fe366 100644 --- a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheConsumerTest.java +++ b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheConsumerTest.java @@ -32,7 +32,7 @@ import org.junit.jupiter.api.Test; public class JCacheConsumerTest extends JCacheComponentTestSupport { @BindToRegistry("myFilter") - public CacheEntryEventFilter addCacheEntryEventFilter() throws Exception { + public CacheEntryEventFilter addCacheEntryEventFilter() { return new CacheEntryEventFilter<Object, Object>() { @Override public boolean evaluate(CacheEntryEvent<?, ?> event) throws CacheEntryListenerException { @@ -105,7 +105,7 @@ public class JCacheConsumerTest extends JCacheComponentTestSupport { } @Override - protected RouteBuilder createRouteBuilder() throws Exception { + protected RouteBuilder createRouteBuilder() { return new RouteBuilder() { public void configure() { from("jcache://test-cache?filteredEvents=UPDATED,REMOVED,EXPIRED").to("mock:created"); diff --git a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheManagerTest.java b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheManagerTest.java index dcce8ba553b..9e576ed5b60 100644 --- a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheManagerTest.java +++ b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheManagerTest.java @@ -35,7 +35,7 @@ public class JCacheManagerTest extends JCacheComponentTestSupport { } @Test - public void testCacheCreationFailure() throws Exception { + public void testCacheCreationFailure() { JCacheConfiguration conf = new JCacheConfiguration(); conf.setCacheName(randomString()); conf.setCreateCacheIfNotExists(false); diff --git a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheProducerClearTest.java b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheProducerClearTest.java index 0f2cb7e229f..9282acd2e50 100644 --- a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheProducerClearTest.java +++ b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheProducerClearTest.java @@ -43,7 +43,7 @@ public class JCacheProducerClearTest extends JCacheComponentTestSupport { } @Override - protected RouteBuilder createRouteBuilder() throws Exception { + protected RouteBuilder createRouteBuilder() { return new RouteBuilder() { public void configure() { from("direct:clear") diff --git a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheProducerGetTest.java b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheProducerGetTest.java index 7ed9f15b761..c5cc9e092d9 100644 --- a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheProducerGetTest.java +++ b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheProducerGetTest.java @@ -192,7 +192,7 @@ public class JCacheProducerGetTest extends JCacheComponentTestSupport { } @Override - protected RouteBuilder createRouteBuilder() throws Exception { + protected RouteBuilder createRouteBuilder() { return new RouteBuilder() { public void configure() { from("direct:get") diff --git a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheProducerInvokeTest.java b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheProducerInvokeTest.java index 6c1102778bf..d05b0f905ee 100644 --- a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheProducerInvokeTest.java +++ b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheProducerInvokeTest.java @@ -123,7 +123,7 @@ public class JCacheProducerInvokeTest extends JCacheComponentTestSupport { } @Override - protected RouteBuilder createRouteBuilder() throws Exception { + protected RouteBuilder createRouteBuilder() { return new RouteBuilder() { public void configure() { from("direct:invoke") diff --git a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheProducerPutTest.java b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheProducerPutTest.java index 6e52f24784e..1ca7580ada2 100644 --- a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheProducerPutTest.java +++ b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheProducerPutTest.java @@ -147,7 +147,7 @@ public class JCacheProducerPutTest extends JCacheComponentTestSupport { } @Override - protected RouteBuilder createRouteBuilder() throws Exception { + protected RouteBuilder createRouteBuilder() { return new RouteBuilder() { public void configure() { from("direct:put") diff --git a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheProducerRemoveTest.java b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheProducerRemoveTest.java index 68c02071bd9..e1b01797a71 100644 --- a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheProducerRemoveTest.java +++ b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheProducerRemoveTest.java @@ -147,7 +147,7 @@ public class JCacheProducerRemoveTest extends JCacheComponentTestSupport { } @Override - protected RouteBuilder createRouteBuilder() throws Exception { + protected RouteBuilder createRouteBuilder() { return new RouteBuilder() { public void configure() { from("direct:remove") diff --git a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheProducerReplaceTest.java b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheProducerReplaceTest.java index 2d9c0f45c97..982aea06c08 100644 --- a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheProducerReplaceTest.java +++ b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/JCacheProducerReplaceTest.java @@ -166,7 +166,7 @@ public class JCacheProducerReplaceTest extends JCacheComponentTestSupport { } @Override - protected RouteBuilder createRouteBuilder() throws Exception { + protected RouteBuilder createRouteBuilder() { return new RouteBuilder() { public void configure() { from("direct:replace") diff --git a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/policy/CacheManagerFromRegistryTest.java b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/policy/CacheManagerFromRegistryTest.java index 310bddb071d..9990a22413e 100644 --- a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/policy/CacheManagerFromRegistryTest.java +++ b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/policy/CacheManagerFromRegistryTest.java @@ -38,7 +38,7 @@ public class CacheManagerFromRegistryTest extends JCachePolicyTestBase { // Register cacheManager in CamelContext. Set cacheName @Test - public void testCacheManagerFromContext() throws Exception { + public void testCacheManagerFromContext() { final String key = randomString(); // Send exchange @@ -55,10 +55,10 @@ public class CacheManagerFromRegistryTest extends JCachePolicyTestBase { } @Override - protected RouteBuilder createRouteBuilder() throws Exception { + protected RouteBuilder createRouteBuilder() { return new RouteBuilder() { @Override - public void configure() throws Exception { + public void configure() { JCachePolicy jcachePolicy = new JCachePolicy(); jcachePolicy.setCacheName("contextCacheManager"); diff --git a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/policy/JCachePolicyProcessorTest.java b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/policy/JCachePolicyProcessorTest.java index b5034144c14..1a3cfca32ff 100644 --- a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/policy/JCachePolicyProcessorTest.java +++ b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/policy/JCachePolicyProcessorTest.java @@ -38,7 +38,7 @@ public class JCachePolicyProcessorTest extends JCachePolicyTestBase { //Basic test to verify value gets cached and route is not executed for the second time @Test - public void testValueGetsCached() throws Exception { + public void testValueGetsCached() { final String key = randomString(); MockEndpoint mock = getMockEndpoint("mock:value"); Cache cache = lookupCache("simple"); @@ -63,7 +63,7 @@ public class JCachePolicyProcessorTest extends JCachePolicyTestBase { //Verify policy applies only on the section of the route wrapped @Test - public void testPartial() throws Exception { + public void testPartial() { final String key = randomString(); MockEndpoint mock = getMockEndpoint("mock:value"); MockEndpoint mockUnwrapped = getMockEndpoint("mock:unwrapped"); @@ -91,7 +91,7 @@ public class JCachePolicyProcessorTest extends JCachePolicyTestBase { //Cache is closed @Test - public void testClosedCache() throws Exception { + public void testClosedCache() { final String key = randomString(); MockEndpoint mock = getMockEndpoint("mock:value"); @@ -113,7 +113,7 @@ public class JCachePolicyProcessorTest extends JCachePolicyTestBase { //Key is already stored @Test - public void testValueWasCached() throws Exception { + public void testValueWasCached() { final String key = randomString(); final String value = "test"; MockEndpoint mock = getMockEndpoint("mock:value"); @@ -133,7 +133,7 @@ public class JCachePolicyProcessorTest extends JCachePolicyTestBase { //Null final body @Test - public void testNullResult() throws Exception { + public void testNullResult() { final String key = randomString(); MockEndpoint mock = getMockEndpoint("mock:value"); mock.whenAnyExchangeReceived(e -> e.getMessage().setBody(null)); @@ -151,7 +151,7 @@ public class JCachePolicyProcessorTest extends JCachePolicyTestBase { //Use a key expression ${header.mykey} @Test - public void testKeyExpression() throws Exception { + public void testKeyExpression() { final String key = randomString(); final String body = randomString(); MockEndpoint mock = getMockEndpoint("mock:value"); @@ -177,7 +177,7 @@ public class JCachePolicyProcessorTest extends JCachePolicyTestBase { //Key is null, ${header.mykey} is not set @Test - public void testKeyNull() throws Exception { + public void testKeyNull() { final String key = randomString(); String body = randomString(); MockEndpoint mock = getMockEndpoint("mock:value"); @@ -208,7 +208,7 @@ public class JCachePolicyProcessorTest extends JCachePolicyTestBase { //Value is cached after handled exception @Test - public void testHandledException() throws Exception { + public void testHandledException() { final String key = randomString(); MockEndpoint mock = getMockEndpoint("mock:value"); Cache cache = lookupCache("simple"); @@ -225,7 +225,7 @@ public class JCachePolicyProcessorTest extends JCachePolicyTestBase { //Nothing is cached after an unhandled exception @Test - public void testException() throws Exception { + public void testException() { final String key = randomString(); MockEndpoint mock = getMockEndpoint("mock:value"); mock.whenAnyExchangeReceived(e -> { @@ -246,7 +246,7 @@ public class JCachePolicyProcessorTest extends JCachePolicyTestBase { } @Override - protected RouteBuilder createRouteBuilder() throws Exception { + protected RouteBuilder createRouteBuilder() { return new RouteBuilder() { public void configure() { CacheManager cacheManager = Caching.getCachingProvider().getCacheManager(); diff --git a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/policy/JCachePolicyTest.java b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/policy/JCachePolicyTest.java index 9acdc80bb81..2715b0cdc66 100644 --- a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/policy/JCachePolicyTest.java +++ b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/policy/JCachePolicyTest.java @@ -36,7 +36,7 @@ public class JCachePolicyTest extends JCachePolicyTestBase { //Set cache - this use cases is also covered by tests in JCachePolicyProcessorTest @Test - public void testSetCache() throws Exception { + public void testSetCache() { final String key = randomString(); //Send exchange @@ -50,7 +50,7 @@ public class JCachePolicyTest extends JCachePolicyTestBase { //Set cacheManager, cacheName, cacheConfiguration @Test - public void testSetManagerNameConfiguration() throws Exception { + public void testSetManagerNameConfiguration() { final String key = randomString(); //Send exchange @@ -71,7 +71,7 @@ public class JCachePolicyTest extends JCachePolicyTestBase { //Set cacheManager, cacheName @Test - public void testSetManagerName() throws Exception { + public void testSetManagerName() { final String key = randomString(); //Send exchange @@ -85,7 +85,7 @@ public class JCachePolicyTest extends JCachePolicyTestBase { //Set cacheManager, cacheName - cache already exists @Test - public void testSetManagerNameExists() throws Exception { + public void testSetManagerNameExists() { final String key = randomString(); //Send exchange @@ -100,7 +100,7 @@ public class JCachePolicyTest extends JCachePolicyTestBase { //Set cacheManager, cacheConfiguration @Test - public void testSetManagerConfiguration() throws Exception { + public void testSetManagerConfiguration() { final String key = randomString(); //Send exchange @@ -122,7 +122,7 @@ public class JCachePolicyTest extends JCachePolicyTestBase { //Set cacheName - use CachingProvider to lookup CacheManager @Test - public void testDefaultCacheManager() throws Exception { + public void testDefaultCacheManager() { final String key = randomString(); //Send exchange @@ -138,7 +138,7 @@ public class JCachePolicyTest extends JCachePolicyTestBase { //Not enabled @Test - public void testNotEnabled() throws Exception { + public void testNotEnabled() { final String key = randomString(); //Send exchange @@ -153,10 +153,10 @@ public class JCachePolicyTest extends JCachePolicyTestBase { } @Override - protected RouteBuilder createRouteBuilder() throws Exception { + protected RouteBuilder createRouteBuilder() { return new RouteBuilder() { @Override - public void configure() throws Exception { + public void configure() { CacheManager cacheManager = Caching.getCachingProvider().getCacheManager(); MutableConfiguration configuration; diff --git a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/policy/SpringJCachePolicyTest.java b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/policy/SpringJCachePolicyTest.java index 86913ea2e0c..2b2f9023e60 100644 --- a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/policy/SpringJCachePolicyTest.java +++ b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/policy/SpringJCachePolicyTest.java @@ -48,7 +48,7 @@ public class SpringJCachePolicyTest extends CamelSpringTestSupport { //Verify value gets cached and route is not executed for the second time @Test - public void testXmlDslValueGetsCached() throws Exception { + public void testXmlDslValueGetsCached() { final String key = randomString(); MockEndpoint mock = getMockEndpoint("mock:spring"); @@ -72,7 +72,7 @@ public class SpringJCachePolicyTest extends CamelSpringTestSupport { //Verify if we call the route with different keys, both gets cached @Test - public void testXmlDslDifferent() throws Exception { + public void testXmlDslDifferent() { final String key1 = randomString(); MockEndpoint mock = getMockEndpoint("mock:spring"); @@ -97,7 +97,7 @@ public class SpringJCachePolicyTest extends CamelSpringTestSupport { //Verify policy applies only on the section of the route wrapped @Test - public void testXmlDslPartial() throws Exception { + public void testXmlDslPartial() { final String key = randomString(); MockEndpoint mock = getMockEndpoint("mock:spring"); MockEndpoint mockUnwrapped = getMockEndpoint("mock:unwrapped"); @@ -124,7 +124,7 @@ public class SpringJCachePolicyTest extends CamelSpringTestSupport { //Use a key expression ${header.mykey} @Test - public void testXmlDslKeyExpression() throws Exception { + public void testXmlDslKeyExpression() { final String key = randomString(); final String body = randomString(); MockEndpoint mock = getMockEndpoint("mock:spring"); diff --git a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/processor/aggregate/JCacheAggregationRepositoryRoutesTest.java b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/processor/aggregate/JCacheAggregationRepositoryRoutesTest.java index 3ffb0142900..1787bb3c7ee 100644 --- a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/processor/aggregate/JCacheAggregationRepositoryRoutesTest.java +++ b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/processor/aggregate/JCacheAggregationRepositoryRoutesTest.java @@ -49,7 +49,7 @@ public class JCacheAggregationRepositoryRoutesTest extends JCacheAggregationRepo final String correlator = "CORRELATOR"; RouteBuilder rbOne = new RouteBuilder() { @Override - public void configure() throws Exception { + public void configure() { from(DIRECT_ONE).routeId("AggregatingRouteOne") .aggregate(header(correlator)) .aggregationRepository(repoOne) @@ -61,7 +61,7 @@ public class JCacheAggregationRepositoryRoutesTest extends JCacheAggregationRepo RouteBuilder rbTwo = new RouteBuilder() { @Override - public void configure() throws Exception { + public void configure() { from(DIRECT_TWO).routeId("AggregatingRouteTwo") .aggregate(header(correlator)) .aggregationRepository(repoTwo) diff --git a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/processor/aggregate/JCacheAggregationRepositoryTestSupport.java b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/processor/aggregate/JCacheAggregationRepositoryTestSupport.java index bdf415d6e0f..db7e02ef44b 100644 --- a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/processor/aggregate/JCacheAggregationRepositoryTestSupport.java +++ b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/processor/aggregate/JCacheAggregationRepositoryTestSupport.java @@ -23,7 +23,7 @@ import org.apache.camel.test.junit5.CamelTestSupport; @HazelcastTest class JCacheAggregationRepositoryTestSupport extends CamelTestSupport { - protected JCacheAggregationRepository createRepository(boolean optimistic) throws Exception { + protected JCacheAggregationRepository createRepository(boolean optimistic) { JCacheAggregationRepository repository = new JCacheAggregationRepository(); repository.setCamelContext(context); repository.setConfiguration(new JCacheConfiguration("aggregation-repository")); diff --git a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/processor/idempotent/JCacheIdempotentRepositoryTest.java b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/processor/idempotent/JCacheIdempotentRepositoryTest.java index 1ca2f7004a7..8379136d27e 100644 --- a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/processor/idempotent/JCacheIdempotentRepositoryTest.java +++ b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/processor/idempotent/JCacheIdempotentRepositoryTest.java @@ -62,7 +62,7 @@ public class JCacheIdempotentRepositoryTest extends CamelTestSupport { } @Test - public void addsNewKeysToCache() throws Exception { + public void addsNewKeysToCache() { assertTrue(repository.add("One")); assertTrue(repository.add("Two")); @@ -71,20 +71,20 @@ public class JCacheIdempotentRepositoryTest extends CamelTestSupport { } @Test - public void skipsAddingSecondTimeTheSameKey() throws Exception { + public void skipsAddingSecondTimeTheSameKey() { assertTrue(repository.add("One")); assertFalse(repository.add("One")); } @Test - public void containsPreviouslyAddedKey() throws Exception { + public void containsPreviouslyAddedKey() { assertFalse(repository.contains("One")); repository.add("One"); assertTrue(repository.contains("One")); } @Test - public void removesAnExistingKey() throws Exception { + public void removesAnExistingKey() { cache.clear(); repository.add("One"); @@ -94,12 +94,12 @@ public class JCacheIdempotentRepositoryTest extends CamelTestSupport { } @Test - public void doesNotRemoveMissingKey() throws Exception { + public void doesNotRemoveMissingKey() { assertFalse(repository.remove("One")); } @Test - public void clearCache() throws Exception { + public void clearCache() { assertTrue(repository.add("One")); assertTrue(repository.add("Two")); diff --git a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/support/HazelcastTest.java b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/support/HazelcastTest.java index 8194b861e80..2d7fdbc67cd 100644 --- a/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/support/HazelcastTest.java +++ b/components/camel-jcache/src/test/java/org/apache/camel/component/jcache/support/HazelcastTest.java @@ -35,13 +35,13 @@ public @interface HazelcastTest { class HazelcastTestExtension implements BeforeAllCallback, AfterAllCallback { @Override - public void beforeAll(ExtensionContext context) throws Exception { + public void beforeAll(ExtensionContext context) { System.setProperty("hazelcast.named.jcache.instance", "false"); System.setProperty("hazelcast.jcache.provider.type", "member"); } @Override - public void afterAll(ExtensionContext context) throws Exception { + public void afterAll(ExtensionContext context) { } }