SessionTrafficResult { public long getOutputBytes() { return outputBytes; } SessionTrafficResult(long timestamp, long inputBytes, long outputBytes, long inputRates, long outputRates); Object[] toArray(); static SessionTrafficResult parseFromArray(Object[] objects); long getTimestamp(); long getInputBytes(); long getOutputBytes(); long getInputRates(); long getOutputRates(); @Override boolean equals(Object o); @Override int hashCode();  }
@Test public void getOutputBytes() { long timestamp = System.currentTimeMillis(); long input = 1000, output = 2000, inputRates = 10, outputRates = 20; result = new SessionTrafficResult(timestamp, input, output, inputRates, outputRates); Assert.assertEquals(output, result.getOutputBytes()); }