()
| 56 | }; |
| 57 | |
| 58 | @Before |
| 59 | public void setUp() throws Exception { |
| 60 | ResourceLeakDetector.setLevel(Level.PARANOID); |
| 61 | // Use MockAltsHandshakerStub for all the tests. |
| 62 | AltsHandshakerOptions handshakerOptions = new AltsHandshakerOptions(null); |
| 63 | MockAltsHandshakerStub clientStub = new MockAltsHandshakerStub(); |
| 64 | MockAltsHandshakerStub serverStub = new MockAltsHandshakerStub(); |
| 65 | NoopChannelLogger channelLogger = new NoopChannelLogger(); |
| 66 | client = new AltsHandshakerClient(clientStub, handshakerOptions, channelLogger); |
| 67 | server = new AltsHandshakerClient(serverStub, handshakerOptions, channelLogger); |
| 68 | } |
| 69 | |
| 70 | @After |
| 71 | public void tearDown() { |
nothing calls this directly
no outgoing calls
no test coverage detected