File tree Expand file tree Collapse file tree
trunk/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/spi/v1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
2- refs/heads/master: f56484bb6794a4c02d6bc2b4163579359ae866b6
2+ refs/heads/master: 149ff7a8a05bd2098bf6e4cb054b612181b520b7
33refs/heads/travis: dae77e558b884bc1b165155482d76c8e40b0fca4
44refs/heads/gh-pages: 229631582f8957646f81e92ae5a326504f48ee5b
55refs/tags/0.0.9: 22f1839238f66c39e67ed4dfdcd273b1ae2e8444
Original file line number Diff line number Diff line change 5353import org .junit .runner .RunWith ;
5454import org .junit .runners .Parameterized ;
5555import 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 );
You can’t perform that action at this time.
0 commit comments