src/test/java/pityoulish/sockets/server/TLVResponseBuilderImplTest.java
public static void assertCount(MsgBoardType mbt, byte[] pdu, int expected)
  {
    assertEquals("wrong count for "+mbt,
                 expected, count(pdu, mbt.getTypeByte()));
  }
/**
   * Asserts a count for a TLV type.
   *
   * @param mbt    the TLV type to count
   * @param pdu    the array in which to count
   * @param expected   the expected number of occurrences
   */
Asserts a count for a TLV type.
@param mbt    the TLV type to count
@param pdu    the array in which to count
@param expected   the expected number of occurrences
Asserts a count for a TLV type . @param mbt the TLV type to count @param pdu the array in which to count @param expected the expected number of occurrences
public static void assertCount(MsgBoardType mbt, byte[] pdu, int expected)
  {
    assertEquals("wrong count for "+mbt,
                 expected, count(pdu, mbt.getTypeByte()));
  }
public static void assertCount ( MsgBoardType mbt , byte [ ] pdu , int expected ) { assertEquals ( "wrong count for " + mbt , expected , count ( pdu , mbt . getTypeByte ( ) ) ) ; }
Asserts a count for a TLV type.
Asserts a count for a TLV type .