### Question:
TimeCodeBox extends AbstractBox implements SampleEntry, Container { public List<Box> getBoxes() { return Collections.emptyList(); } TimeCodeBox(); int getDataReferenceIndex(); void setDataReferenceIndex(int dataReferenceIndex); @Override String toString(); int getTimeScale(); void setTimeScale(int timeScale); int getFrameDuration(); void setFrameDuration(int frameDuration); int getNumberOfFrames(); void setNumberOfFrames(int numberOfFrames); int getReserved1(); void setReserved1(int reserved1); int getReserved2(); void setReserved2(int reserved2); long getFlags(); void setFlags(long flags); byte[] getRest(); void setRest(byte[] rest); List<Box> getBoxes(); void setBoxes(List<? extends Box> boxes); List<T> getBoxes(Class<T> clazz); List<T> getBoxes(Class<T> clazz, boolean recursive); void writeContainer(WritableByteChannel bb); static final String TYPE; }### Answer:
@Test public void checkRealLifeBox() throws IOException, DecoderException { File f = File.createTempFile("TimeCodeBoxTest", "checkRealLifeBox"); FileOutputStream fos = new FileOutputStream(f); fos.write(Hex.decodeHex(tcmd.toCharArray())); fos.close(); IsoFile isoFile = new IsoFile(new FileInputStream(f).getChannel()); TimeCodeBox tcmd = (TimeCodeBox) isoFile.getBoxes().get(0); System.err.println(tcmd); isoFile.close(); f.delete(); }