*/
public class AssociationManagementSettingsTest {
@Test
public void testAssociationManagementParsing() {
File file = new File("src/test/resources/opstrings/association_management.groovy");
OpStringParser dslParser = new GroovyDSLOpStringParser();
List<OpString> opstrings = dslParser.parse(file, null, null, null);
Assert.assertEquals("There should be one and only one opstring", 1, opstrings.size());
OpString opstring = opstrings.get(0);
ServiceElement serviceElement = opstring.getServices()[0];
Assert.assertEquals(15, serviceElement.getAssociationDescriptors()[0].getServiceDiscoveryTimeout());
Assert.assertEquals(TimeUnit.SECONDS, serviceElement.getAssociationDescriptors()[0].getServiceDiscoveryTimeUnits());