@Test
public void testInitialzeWithArray_shouldReturnArrayProperty() throws Exception {

    FileUtils.writeLines(connectorFile, Arrays.asList(
        "domainType=d",
        "connectorType=c",
        "property.foo=bar,42"));
    ConnectorFile fileObject = new ConnectorFile(connectorFile);
    String[] values = (String[]) fileObject.getProperties().get("foo");
    assertThat(Arrays.asList(values), hasItems("bar", "42"));
}