@Test
public void test_agentmain_actionTooMoreArgument() throws Exception {

    DnsCacheManipulator.setDnsNegativeCachePolicy(1111);
    DcmAgent.agentmain("  setNegativePolicy 737 HaHa  file " + outputFilePath);
    assertEquals(1111, DnsCacheManipulator.getDnsNegativeCachePolicy());
    final List<String> content = FileUtils.readLines(outputFile);
    assertThat(content.get(0), containsString("Error to do action setNegativePolicy 737 HaHa"));
    assertThat(content.get(0), containsString("Too more arguments for Action setNegativePolicy! arguments: [737, HaHa]"));
}