}
@Test
public void testBuildUpdateConfigAction()
{
UpdateConfigAction action;
action = new UpdateConfigAction();
action.setSrcFilename("sourcefile.conf");
action.setDstFilename("destfile.conf");
action.setReload(true);
action.addCommand(UpdateConfigAction.ACTION_NEWCAT, "testcategory", null, null, null);
String actual = actionBuilder.buildAction(action);
assertTrue("Action name missing", actual.indexOf("action: UpdateConfig") >= 0);
assertTrue("Source filename missing", actual.indexOf("srcfilename: sourcefile.conf") >= 0);