@Test
public void test_agentmain_clear() throws Exception {

    DnsCacheManipulator.setDnsCache("baidu.com", "3.3.3.3");
    DcmAgent.agentmain("   clear  ");
    assertEquals(0, DnsCacheManipulator.listDnsCache().size());
}