// ===================================================================================
  //                                                                               Basic
  //                                                                               =====
  public void test_select_update_binary() {
    // ## Arrange ##
    WhiteBinaryCB cb = new WhiteBinaryCB();
    cb.query().addOrderBy_BinaryId_Asc();
    cb.fetchFirst(2);

    // ## Act ##
    ListResultBean<WhiteBinary> binaryList = whiteBinaryBhv.selectList(cb);

    // ## Assert ##
    WhiteBinary first = binaryList.get(0);
    WhiteBinary second = binaryList.get(1);
    byte[] firstBlob = first.getBlobData();
    byte[] secondBlob = second.getBlobData();
    assertNotSame(firstBlob.length, secondBlob.length);
    log("firstBlob=" + firstBlob.length);
    log("secondBlob=" + secondBlob.length);

    // switch
    first.setBlobData(secondBlob);
    second.setBlobData(firstBlob);
    whiteBinaryBhv.update(first);
    whiteBinaryBhv.update(second);

    ListResultBean<WhiteBinary> afterList = whiteBinaryBhv.selectList(cb);

    byte[] afterFirstBlob = afterList.get(0).getBlobData();
    byte[] afterSecondBlob = afterList.get(1).getBlobData();

    log("afterFirstBlob=" + afterFirstBlob.length);
    log("afterSecondBlob=" + afterSecondBlob.length);

    // switched
    assertEquals(secondBlob.length, afterFirstBlob.length);
    assertEquals(firstBlob.length, afterSecondBlob.length);
  }