@Test
public void testSetMegabyteCountRolloverCondition() {

  udpStreamMonitor.setMegabyteCountRolloverCondition(
      Math.toIntExact(UdpStreamMonitor.MEGABYTE_COUNT_MIN));
  verify(udpStreamProcessor)
      .setMegabyteCountRolloverCondition(Math.toIntExact(UdpStreamMonitor.MEGABYTE_COUNT_MIN));
  assertThat(
      udpStreamMonitor.getByteCountRolloverCondition(),
      is(Math.toIntExact(UdpStreamMonitor.MEGABYTE_COUNT_MIN)));
}