@Test
public void testUnsuccessfulResponseCode() throws IOException {
expectedException.expect(IOException.class);
expectedException.expectMessage(new StringStartsWith(RECEIVED_RESPONSE_CODE));
mockNiFiS2SServer.getMockWebServer().enqueue(new MockResponse().setResponseCode(400));
new HttpSiteToSiteClient(siteToSiteClientConfig, siteToSiteRemoteCluster);
}
PeerTrackerTest.java 文件源码
java
阅读 19
收藏 0
点赞 0
评论 0
项目:nifi-android-s2s
作者:
评论列表
文章目录