assertThat(sigarService.sigar().getFileSystemMap(), is(map));
} catch (SigarException e) {
e.printStackTrace();
}
HttpInfo httpInfo = mock(HttpInfo.class);
when(nodeInfo.getHttp()).thenReturn(httpInfo);
BoundTransportAddress boundTransportAddress = new BoundTransportAddress(
new InetSocketTransportAddress("localhost", 44200),
new InetSocketTransportAddress("localhost", 44200)
);
when(httpInfo.address()).thenReturn(boundTransportAddress);
JvmService jvmService = mock(JvmService.class);
JvmStats jvmStats = mock(JvmStats.class);
JvmStats.Mem jvmStatsMem = mock(JvmStats.Mem.class);
ByteSizeValue heapByteSizeValueMax = mock(ByteSizeValue.class);