@Test
public void testCreatePlist() throws Exception {

    final String docsetDir = createAndVerifyDocsetStructure("TestDoc");
    createPList("Identifier", "displayName", "keyword", "indexFile", docsetDir);
    final File plist = getFile(getDocsetRoot(docsetDir), CONTENTS, "Info.plist");
    assertNotNull(plist);
    assertTrue(plist.exists());
    final NSDictionary rootDict = (NSDictionary) PropertyListParser.parse(plist);
    verifyPlistEntry(rootDict, "CFBundleIdentifier", "Identifier");
    verifyPlistEntry(rootDict, "CFBundleName", "displayName");
    verifyPlistEntry(rootDict, "DocSetPlatformFamily", "keyword");
    verifyPlistEntry(rootDict, "dashIndexFilePath", "indexFile");
    verifyPlistEntry(rootDict, "DashDocSetFamily", "java");
    verifyPlistEntry(rootDict, "isDashDocset", "true");
}