> @@ -50,223 +47,139 @@ > /** > * Mock test for Glacier. > */ > -@Test > +@Test(dataProvider = "args") > +@Guice(modules = InterceptionModule.class)
This approach allows us to have a MockWebServer instance for each test. This ensures that one test won't interfere with the others. If we use @BeforeTest and @AfterTest instead we would require the test to be single threaded. --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs-aws/pull/17/files#r13945391
