SkinLayoutDefinition { @Override public String toString() { StringBuilder sb = new StringBuilder(); makeString(sb, 1); return sb.toString(); } private  SkinLayoutDefinition(); @Nullable static SkinLayoutDefinition parseFile(@NotNull File file, @NotNull FileOp fop); @Nullable String get(@NotNull String queryString); @Override String toString();  }
@Test public void testToString() throws Exception { Assert.assertEquals("{\n" + " layouts {\n" + " portrait {\n" + " color 0x1f1f1f\n" + " event EV_SW:0:1\n" + " height 380\n" + " width 380\n" + " onion {\n" + " alpha 100\n" + " image circle_mask_380px_onion.png\n" + " rotation 0\n" + " }\n" + " part1 {\n" + " name portrait\n" + " x 0\n" + " y 0\n" + " }\n" + " part2 {\n" + " name device\n" + " x 30\n" + " y 30\n" + " }\n" + " part3 {\n" + " name controls\n" + " x 0\n" + " y 0\n" + " }\n" + " }\n" + " }\n" + "}\n", mySkinLayoutDefinition.toString()); }