pdb = (PropertyBoolean) props.get(PropertyIds.IS_VERSION_SERIES_CHECKED_OUT);
assertNotNull(pdb);
bVal = pdb.getFirstValue();
assertEquals(versioningState == VersioningState.CHECKEDOUT, bVal);
PropertyString pds = (PropertyString) props.get(PropertyIds.VERSION_SERIES_CHECKED_OUT_BY);
assertNotNull(pds);
sVal = pds.getFirstValue();
if (versioningState == VersioningState.CHECKEDOUT) {
assertTrue(sVal != null && sVal.length() > 0);
} else {
assertTrue(null == sVal || sVal.equals(""));
}
pdid = (PropertyId) props.get(PropertyIds.VERSION_SERIES_CHECKED_OUT_ID);
assertNotNull(pdid);
sVal = pdid.getFirstValue();
if (versioningState == VersioningState.CHECKEDOUT) {
assertTrue(sVal != null && sVal.length() > 0);
} else {
assertTrue(null == sVal || sVal.equals(""));
}
pds = (PropertyString) props.get(PropertyIds.CHECKIN_COMMENT);
assertNotNull(pdb);
sVal = pds.getFirstValue();
if (checkinComment == null) {
assertTrue(null == sVal);
} else {
assertEquals(checkinComment, sVal);
}