### Question:
MissionLog { static String colorToHTML(int argb) { return String.format("#%06X", argb & 0xffffff); } MissionLog(CharSequence actionText, CharSequence clockText);  MissionLog(CharSequence actionText); CharSequence getActionText(); CharSequence getClockText(); static MissionLog formatIntro(Resources res, String message);  }### Answer:
@Test public void testColorToHTML() { assertEquals("#C7EBFC", MissionLog.colorToHTML(0xffc7ebfc)); assertEquals("#C7EBFC", MissionLog.colorToHTML(0xc7ebfc)); assertEquals("#07EBFC", MissionLog.colorToHTML(0xff07ebfc)); assertEquals("#07EBFC", MissionLog.colorToHTML(0x7ebfc)); assertEquals("#00EBFC", MissionLog.colorToHTML(0xff00ebfc)); assertEquals("#00EBFC", MissionLog.colorToHTML(0xebfc)); assertEquals("#0000FC", MissionLog.colorToHTML(0xff0000fc)); assertEquals("#0000FC", MissionLog.colorToHTML(0xfc)); }