public void testOpStringLoader() throws Exception {
OpStringLoader opStringLoader = new OpStringLoader();
opStringLoader.setDefaultGroups("banjo");
String baseDir = System.getProperty("user.dir");
File calculator = new File(baseDir, "src/test/resources/opstrings/opstringloadertest.groovy");
OperationalString[] opStrings = opStringLoader.parseOperationalString(calculator);
Assert.assertNotNull(opStrings);
Assert.assertEquals("Should have only 1 opstring", 1, opStrings.length);
Assert.assertEquals("Should have 1 service", 1, opStrings[0].getServices().length);
Assert.assertEquals(1, opStrings[0].getServices()[0].getServiceBeanConfig().getGroups().length);
Assert.assertEquals("banjo", opStrings[0].getServices()[0].getServiceBeanConfig().getGroups()[0]);