Skip to content

Commit 53864b9

Browse files
authored
---
yaml --- r: 5437 b: refs/heads/master c: 149ff7a h: refs/heads/master i: 5435: 0fb4c8b
1 parent feed4fa commit 53864b9

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
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: f56484bb6794a4c02d6bc2b4163579359ae866b6
2+
refs/heads/master: 149ff7a8a05bd2098bf6e4cb054b612181b520b7
33
refs/heads/travis: dae77e558b884bc1b165155482d76c8e40b0fca4
44
refs/heads/gh-pages: 229631582f8957646f81e92ae5a326504f48ee5b
55
refs/tags/0.0.9: 22f1839238f66c39e67ed4dfdcd273b1ae2e8444

trunk/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)