assertEquals(rect, loaded);
}
// matteborder - only with color - no icon
public void testMatteBorder() {
DumperOptions options = new DumperOptions();
options.setWidth(400);
Yaml yaml = new Yaml(new ImmutablesRepresenter(), options);
Insets insets = new Insets(10, 20, 30, 40);
Color color = new Color(100, 150, 200);
MatteBorder border = BorderFactory.createMatteBorder(insets.top, insets.left,
insets.bottom, insets.right, color);