### Question:
MetricNode { public static MetricNode fromFatString(String line) { String[] strs = line.split("\\|"); Long time = Long.parseLong(strs[0]); MetricNode node = new MetricNode(); node.setTimestamp(time); node.setResource(strs[2]); node.setPassQps(Long.parseLong(strs[3])); node.setBlockQps(Long.parseLong(strs[4])); node.setSuccessQps(Long.parseLong(strs[5])); node.setExceptionQps(Long.parseLong(strs[6])); node.setRt(Long.parseLong(strs[7])); if (strs.length >= 9) { node.setOccupiedPassQps(Long.parseLong(strs[8])); } if (strs.length >= 10) { node.setConcurrency(Integer.parseInt(strs[9])); } if (strs.length == 11) { node.setClassification(Integer.parseInt(strs[10])); } return node; }  long getTimestamp(); long getOccupiedPassQps(); void setOccupiedPassQps(long occupiedPassQps); void setTimestamp(long timestamp); long getSuccessQps(); void setSuccessQps(long successQps); long getPassQps(); void setPassQps(long passQps); long getExceptionQps(); void setExceptionQps(long exceptionQps); long getBlockQps(); void setBlockQps(long blockQps); long getRt(); void setRt(long rt); String getResource(); void setResource(String resource); int getClassification(); MetricNode setClassification(int classification); int getConcurrency(); MetricNode setConcurrency(int concurrency); @Override String toString(); String toThinString(); static MetricNode fromThinString(String line); String toFatString(); static MetricNode fromFatString(String line);  }### Answer:
@Test public void testFromFatString() { String line = "1564382218000|2019-07-29 14:36:58|/foo/*|1|0|1|0|0|0|2|1"; MetricNode node = MetricNode.fromFatString(line); assertEquals(ResourceTypeConstants.COMMON_WEB, node.getClassification()); assertEquals(2, node.getConcurrency()); assertEquals(1, node.getSuccessQps()); }