We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ddf85e commit 2034c58Copy full SHA for 2034c58
1 file changed
gcloud-java-pubsub/src/test/java/com/google/cloud/pubsub/BaseSystemTest.java
@@ -44,6 +44,9 @@
44
*/
45
public abstract class BaseSystemTest {
46
47
+ @Rule
48
+ public ExpectedException thrown = ExpectedException.none();
49
+
50
/**
51
* Returns the Pub/Sub service used to issue requests. This service can be such that it interacts
52
* with the remote Pub/Sub service (for integration tests) or with an emulator
@@ -58,9 +61,6 @@ public abstract class BaseSystemTest {
58
61
59
62
protected abstract String formatForTest(String resourceName);
60
63
- @Rule
- public ExpectedException thrown = ExpectedException.none();
-
64
@Test
65
public void testCreateGetAndDeleteTopic() {
66
String name = formatForTest("test-create-get-delete-topic");
0 commit comments