NetworkMonitor extends ProfilerMonitor { public AxisComponentModel getTrafficAxis() { return myTrafficAxis; } NetworkMonitor(@NotNull StudioProfilers profilers); @Override @NotNull String getName(); @Override TooltipModel buildTooltip(); @Override void exit(); @Override void enter(); @Override void expand(); AxisComponentModel getTrafficAxis(); NetworkUsage getNetworkUsage(); NetworkLegends getLegends(); NetworkLegends getTooltipLegends();  }
@Test public void getTrafficAxis() { AxisComponentModel axis = myMonitor.getTrafficAxis(); assertNotNull(axis); assertSame(myMonitor.getNetworkUsage().getTrafficRange(), axis.getRange()); }