HorizontalAlignmentEnum.RIGHT);
handlerUnderTest.stylesToPersist.put("label1", style1);
handlerUnderTest.stylesToPersist.put("label2", style2);
PropertiesFixture propertiesFixture = new PropertiesFixture();
handlerUnderTest.saveState("prefix", propertiesFixture);
assertEquals(
HorizontalAlignmentEnum.LEFT.name(),
propertiesFixture
.getProperty("prefix.userDefinedColumnStyle.label1.style.horizontalAlignment"));
assertEquals(
HorizontalAlignmentEnum.RIGHT.name(),
propertiesFixture
.getProperty("prefix.userDefinedColumnStyle.label2.style.horizontalAlignment"));
}