PcpMetricInfoV2 extends PcpMetricInfo { @Override public int byteSize() { return METRIC_LENGTH; } PcpMetricInfoV2(String metricName, int id, PcpString nameAsPcpString); @Override void writeToMmv(ByteBuffer byteBuffer); @Override int byteSize();  }
@Test public void byteSizeShouldReturnTheByteSizeOfTheMmvFormat() { assertEquals(EXPECTED_PCP_METRIC_INFO_SIZE, pcpMetricInfoV2.byteSize()); }