void (@NotNull JLinkArtifactProperties properties, int level, boolean verbose) { Element element = XmlSerializer.serialize(properties); assertEquals(2, element.getChildren().size()); Element firstChild = element.getChildren().get(0); assertEquals(2, firstChild.getAttributes().size()); assertEquals("compressionLevel", firstChild.getAttributeValue("name")); assertEquals(String.valueOf(level), firstChild.getAttributeValue("value")); Element secondChild = element.getChildren().get(1); assertEquals(2, secondChild.getAttributes().size()); assertEquals("verbose", secondChild.getAttributeValue("name")); assertEquals(String.valueOf(verbose), secondChild.getAttributeValue("value")); }