@Override
    protected void getProcNodeData(BaseProcResult result) {
        String lowerCaseType = type.name().toLowerCase();
        for (Map.Entry<String, String> entry : configs.entrySet()) {
            if (entry.getKey().equalsIgnoreCase(PASSWORD)) {
                continue;
            }
            result.addRow(Lists.newArrayList(name, lowerCaseType, entry.getKey(), entry.getValue()));
        }
    }
@Test
    public void testGetProcNodeData() throws Exception {
        Map<String, String> configs = getMockConfigs();
        JDBCResource resource = new JDBCResource("jdbc_resource_test");
        resource.setProperties(configs);

        BaseProcResult result = new BaseProcResult();
        resource.getProcNodeData(result);
        Assert.assertEquals(4, result.getRows().size()); // do not show password
    }