@Test
public void testIndexLevelsStringLists() throws InvalidDDMSException {
List<String> names = Util.getXsListAsList("Brian BU");
List<String> phones = Util.getXsListAsList("703-885-1000");
Person person = new Person(names, "Uri", phones, null, null, null);
PropertyReader.setProperty("output.indexLevel", "0");
assertEquals("entityType: person\nname: Brian\nname: BU\nphone: 703-885-1000\nsurname: Uri\n", person.toText());
PropertyReader.setProperty("output.indexLevel", "1");
assertEquals("entityType: person\nname[1]: Brian\nname[2]: BU\nphone: 703-885-1000\nsurname: Uri\n",
person.toText());
PropertyReader.setProperty("output.indexLevel", "2");
assertEquals("entityType: person\nname[1]: Brian\nname[2]: BU\nphone[1]: 703-885-1000\nsurname: Uri\n",
person.toText());
}