Skip to content

Commit 4e6cade

Browse files
authored
---
yaml --- r: 7885 b: refs/heads/tswast-patch-1 c: 149ff7a h: refs/heads/master i: 7883: e2972bb
1 parent d78f9e1 commit 4e6cade

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@ refs/tags/v0.18.0: 9d193c4c4b9d1c6f21515dd8e50836b9194ec9bb
5757
refs/tags/v0.19.0: e67b56e4d8dad5f9a7b38c9b2107c23c828f2ed5
5858
refs/tags/v0.20.0: 839f7fb7156535146aa1cb2c5aadd8d375d854e8
5959
refs/tags/v0.20.1: 370471f437f1f4f68a11e068df5cd6bf39edb1fa
60-
refs/heads/tswast-patch-1: f56484bb6794a4c02d6bc2b4163579359ae866b6
60+
refs/heads/tswast-patch-1: 149ff7a8a05bd2098bf6e4cb054b612181b520b7
6161
refs/heads/pubsub-streaming-pull: 19262b752ee874eb2ca3b950eb2aef44d5a5267b

branches/tswast-patch-1/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/spi/v1/SubscriberImplTest.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@
5353
import org.junit.runner.RunWith;
5454
import org.junit.runners.Parameterized;
5555
import org.junit.runners.Parameterized.Parameters;
56-
import org.mockito.Mockito;
57-
import org.mockito.MockitoAnnotations;
5856

5957
/** Tests for {@link Subscriber}. */
6058
@RunWith(Parameterized.class)
@@ -162,10 +160,8 @@ public SubscriberImplTest(boolean streamingTest) {
162160

163161
@Before
164162
public void setUp() throws Exception {
165-
MockitoAnnotations.initMocks(this);
166-
167163
InProcessServerBuilder serverBuilder = InProcessServerBuilder.forName(testName.getMethodName());
168-
fakeSubscriberServiceImpl = Mockito.spy(new FakeSubscriberServiceImpl());
164+
fakeSubscriberServiceImpl = new FakeSubscriberServiceImpl();
169165
fakeExecutor = new FakeScheduledExecutorService();
170166
testChannelBuilder = InProcessChannelBuilder.forName(testName.getMethodName());
171167
serverBuilder.addService(fakeSubscriberServiceImpl);

0 commit comments

Comments
 (0)