stub: Add RunWith(JUnit4) to support varied environments

Some JUnit environments require the RunWith annotation. Notably
Blaze/Bazel needs it.
This commit is contained in:
Eric Anderson 2025-04-04 10:58:52 -07:00
parent a13fca2bf2
commit aae52de3b8
1 changed files with 3 additions and 0 deletions

View File

@ -17,9 +17,12 @@
package io.grpc.stub;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
import org.mockito.InOrder;
import org.mockito.Mockito;
@RunWith(JUnit4.class)
public class StreamObserversTest {
@Test