### Question:
DailyMarkManager extends AbstractMongoManager { public BseDailyMarkList toBseDailyMark() { BseDailyMarkList.Builder builder = BseDailyMarkList.newBuilder(); for ( DailyMarkPojo dailyMarkPojo : dataMap.values() ) { builder.addDailymarks(dailyMarkPojo.toDailyMarkData()); } return builder.build(); } DailyMarkManager(); static DailyMarkManager getInstance(); void reload(); DailyMarkPojo getDailyMarkByDayNum(int dayNum); Collection<DailyMarkPojo> getDailyMarks(); BseDailyMarkList toBseDailyMark();  }### Answer:
@Test public void testToBseDailyMark() { BseDailyMarkList bseDailyMark = DailyMarkManager.getInstance().toBseDailyMark(); assertEquals(5, bseDailyMark.getDailymarksCount()); System.out.println(bseDailyMark.getSerializedSize()); }