protected MeetupsRegistration addMeetupsRegistration() throws Exception {
    long pk = RandomTestUtil.nextLong();

    MeetupsRegistration meetupsRegistration = _persistence.create(pk);

    meetupsRegistration.setCompanyId(RandomTestUtil.nextLong());

    meetupsRegistration.setUserId(RandomTestUtil.nextLong());

    meetupsRegistration.setUserName(RandomTestUtil.randomString());

    meetupsRegistration.setCreateDate(RandomTestUtil.nextDate());

    meetupsRegistration.setModifiedDate(RandomTestUtil.nextDate());

    meetupsRegistration.setMeetupsEntryId(RandomTestUtil.nextLong());

    meetupsRegistration.setStatus(RandomTestUtil.nextInt());

    meetupsRegistration.setComments(RandomTestUtil.randomString());

    _meetupsRegistrations.add(_persistence.update(meetupsRegistration));

    return meetupsRegistration;
  }
  @Test
  public void testUpdateExisting() throws Exception {
    long pk = RandomTestUtil.nextLong();

    RosterMember newRosterMember = _persistence.create(pk);

    newRosterMember.setUuid(RandomTestUtil.randomString());

    newRosterMember.setCreateDate(RandomTestUtil.nextDate());

    newRosterMember.setModifiedDate(RandomTestUtil.nextDate());

    newRosterMember.setRosterId(RandomTestUtil.nextLong());

    newRosterMember.setContactId(RandomTestUtil.nextLong());

    _rosterMembers.add(_persistence.update(newRosterMember));

    RosterMember existingRosterMember =
        _persistence.findByPrimaryKey(newRosterMember.getPrimaryKey());

    Assert.assertEquals(existingRosterMember.getUuid(), newRosterMember.getUuid());
    Assert.assertEquals(
        existingRosterMember.getRosterMemberId(), newRosterMember.getRosterMemberId());
    Assert.assertEquals(
        Time.getShortTimestamp(existingRosterMember.getCreateDate()),
        Time.getShortTimestamp(newRosterMember.getCreateDate()));
    Assert.assertEquals(
        Time.getShortTimestamp(existingRosterMember.getModifiedDate()),
        Time.getShortTimestamp(newRosterMember.getModifiedDate()));
    Assert.assertEquals(existingRosterMember.getRosterId(), newRosterMember.getRosterId());
    Assert.assertEquals(existingRosterMember.getContactId(), newRosterMember.getContactId());
  }
  protected RatingsEntry addRatingsEntry() throws Exception {
    long pk = RandomTestUtil.nextLong();

    RatingsEntry ratingsEntry = _persistence.create(pk);

    ratingsEntry.setUuid(RandomTestUtil.randomString());

    ratingsEntry.setCompanyId(RandomTestUtil.nextLong());

    ratingsEntry.setUserId(RandomTestUtil.nextLong());

    ratingsEntry.setUserName(RandomTestUtil.randomString());

    ratingsEntry.setCreateDate(RandomTestUtil.nextDate());

    ratingsEntry.setModifiedDate(RandomTestUtil.nextDate());

    ratingsEntry.setClassNameId(RandomTestUtil.nextLong());

    ratingsEntry.setClassPK(RandomTestUtil.nextLong());

    ratingsEntry.setScore(RandomTestUtil.nextDouble());

    ratingsEntry.setLastPublishDate(RandomTestUtil.nextDate());

    _ratingsEntries.add(_persistence.update(ratingsEntry));

    return ratingsEntry;
  }
  @Test
  public void testUpdateExisting() throws Exception {
    long pk = RandomTestUtil.nextLong();

    ServiceComponent newServiceComponent = _persistence.create(pk);

    newServiceComponent.setMvccVersion(RandomTestUtil.nextLong());

    newServiceComponent.setBuildNamespace(RandomTestUtil.randomString());

    newServiceComponent.setBuildNumber(RandomTestUtil.nextLong());

    newServiceComponent.setBuildDate(RandomTestUtil.nextLong());

    newServiceComponent.setData(RandomTestUtil.randomString());

    _serviceComponents.add(_persistence.update(newServiceComponent));

    ServiceComponent existingServiceComponent =
        _persistence.findByPrimaryKey(newServiceComponent.getPrimaryKey());

    Assert.assertEquals(
        existingServiceComponent.getMvccVersion(), newServiceComponent.getMvccVersion());
    Assert.assertEquals(
        existingServiceComponent.getServiceComponentId(),
        newServiceComponent.getServiceComponentId());
    Assert.assertEquals(
        existingServiceComponent.getBuildNamespace(), newServiceComponent.getBuildNamespace());
    Assert.assertEquals(
        existingServiceComponent.getBuildNumber(), newServiceComponent.getBuildNumber());
    Assert.assertEquals(
        existingServiceComponent.getBuildDate(), newServiceComponent.getBuildDate());
    Assert.assertEquals(existingServiceComponent.getData(), newServiceComponent.getData());
  }
  @Test
  public void testCountByG_P_L() throws Exception {
    _persistence.countByG_P_L(
        RandomTestUtil.nextLong(), RandomTestUtil.randomBoolean(), RandomTestUtil.nextLong());

    _persistence.countByG_P_L(0L, RandomTestUtil.randomBoolean(), 0L);
  }
 @Test
 public void testCountByG_F_FArrayable() throws Exception {
   _persistence.countByG_F_F(
       RandomTestUtil.nextLong(),
       new long[] {RandomTestUtil.nextLong(), 0L},
       RandomTestUtil.nextLong());
 }
  protected Team addTeam() throws Exception {
    long pk = RandomTestUtil.nextLong();

    Team team = _persistence.create(pk);

    team.setMvccVersion(RandomTestUtil.nextLong());

    team.setUuid(RandomTestUtil.randomString());

    team.setCompanyId(RandomTestUtil.nextLong());

    team.setUserId(RandomTestUtil.nextLong());

    team.setUserName(RandomTestUtil.randomString());

    team.setCreateDate(RandomTestUtil.nextDate());

    team.setModifiedDate(RandomTestUtil.nextDate());

    team.setGroupId(RandomTestUtil.nextLong());

    team.setName(RandomTestUtil.randomString());

    team.setDescription(RandomTestUtil.randomString());

    team.setLastPublishDate(RandomTestUtil.nextDate());

    _teams.add(_persistence.update(team));

    return team;
  }
  @Test
  public void testCountByC_C_C() throws Exception {
    _persistence.countByC_C_C(
        RandomTestUtil.nextLong(), RandomTestUtil.nextLong(), RandomTestUtil.nextLong());

    _persistence.countByC_C_C(0L, 0L, 0L);
  }
  protected Country addCountry() throws Exception {
    long pk = RandomTestUtil.nextLong();

    Country country = _persistence.create(pk);

    country.setMvccVersion(RandomTestUtil.nextLong());

    country.setName(RandomTestUtil.randomString());

    country.setA2(RandomTestUtil.randomString());

    country.setA3(RandomTestUtil.randomString());

    country.setNumber(RandomTestUtil.randomString());

    country.setIdd(RandomTestUtil.randomString());

    country.setZipRequired(RandomTestUtil.randomBoolean());

    country.setActive(RandomTestUtil.randomBoolean());

    _countries.add(_persistence.update(country));

    return country;
  }
  @Test
  public void testUpdateExisting() throws Exception {
    long pk = RandomTestUtil.nextLong();

    Status newStatus = _persistence.create(pk);

    newStatus.setUserId(RandomTestUtil.nextLong());

    newStatus.setModifiedDate(RandomTestUtil.nextLong());

    newStatus.setOnline(RandomTestUtil.randomBoolean());

    newStatus.setAwake(RandomTestUtil.randomBoolean());

    newStatus.setActivePanelIds(RandomTestUtil.randomString());

    newStatus.setMessage(RandomTestUtil.randomString());

    newStatus.setPlaySound(RandomTestUtil.randomBoolean());

    _statuses.add(_persistence.update(newStatus));

    Status existingStatus = _persistence.findByPrimaryKey(newStatus.getPrimaryKey());

    Assert.assertEquals(existingStatus.getStatusId(), newStatus.getStatusId());
    Assert.assertEquals(existingStatus.getUserId(), newStatus.getUserId());
    Assert.assertEquals(existingStatus.getModifiedDate(), newStatus.getModifiedDate());
    Assert.assertEquals(existingStatus.getOnline(), newStatus.getOnline());
    Assert.assertEquals(existingStatus.getAwake(), newStatus.getAwake());
    Assert.assertEquals(existingStatus.getActivePanelIds(), newStatus.getActivePanelIds());
    Assert.assertEquals(existingStatus.getMessage(), newStatus.getMessage());
    Assert.assertEquals(existingStatus.getPlaySound(), newStatus.getPlaySound());
  }
  @Test
  public void testUpdateExisting() throws Exception {
    long pk = RandomTestUtil.nextLong();

    PasswordTracker newPasswordTracker = _persistence.create(pk);

    newPasswordTracker.setMvccVersion(RandomTestUtil.nextLong());

    newPasswordTracker.setCompanyId(RandomTestUtil.nextLong());

    newPasswordTracker.setUserId(RandomTestUtil.nextLong());

    newPasswordTracker.setCreateDate(RandomTestUtil.nextDate());

    newPasswordTracker.setPassword(RandomTestUtil.randomString());

    _passwordTrackers.add(_persistence.update(newPasswordTracker));

    PasswordTracker existingPasswordTracker =
        _persistence.findByPrimaryKey(newPasswordTracker.getPrimaryKey());

    Assert.assertEquals(
        existingPasswordTracker.getMvccVersion(), newPasswordTracker.getMvccVersion());
    Assert.assertEquals(
        existingPasswordTracker.getPasswordTrackerId(), newPasswordTracker.getPasswordTrackerId());
    Assert.assertEquals(existingPasswordTracker.getCompanyId(), newPasswordTracker.getCompanyId());
    Assert.assertEquals(existingPasswordTracker.getUserId(), newPasswordTracker.getUserId());
    Assert.assertEquals(
        Time.getShortTimestamp(existingPasswordTracker.getCreateDate()),
        Time.getShortTimestamp(newPasswordTracker.getCreateDate()));
    Assert.assertEquals(existingPasswordTracker.getPassword(), newPasswordTracker.getPassword());
  }
  protected MBMailingList addMBMailingList() throws Exception {
    long pk = RandomTestUtil.nextLong();

    MBMailingList mbMailingList = _persistence.create(pk);

    mbMailingList.setUuid(RandomTestUtil.randomString());

    mbMailingList.setGroupId(RandomTestUtil.nextLong());

    mbMailingList.setCompanyId(RandomTestUtil.nextLong());

    mbMailingList.setUserId(RandomTestUtil.nextLong());

    mbMailingList.setUserName(RandomTestUtil.randomString());

    mbMailingList.setCreateDate(RandomTestUtil.nextDate());

    mbMailingList.setModifiedDate(RandomTestUtil.nextDate());

    mbMailingList.setCategoryId(RandomTestUtil.nextLong());

    mbMailingList.setEmailAddress(RandomTestUtil.randomString());

    mbMailingList.setInProtocol(RandomTestUtil.randomString());

    mbMailingList.setInServerName(RandomTestUtil.randomString());

    mbMailingList.setInServerPort(RandomTestUtil.nextInt());

    mbMailingList.setInUseSSL(RandomTestUtil.randomBoolean());

    mbMailingList.setInUserName(RandomTestUtil.randomString());

    mbMailingList.setInPassword(RandomTestUtil.randomString());

    mbMailingList.setInReadInterval(RandomTestUtil.nextInt());

    mbMailingList.setOutEmailAddress(RandomTestUtil.randomString());

    mbMailingList.setOutCustom(RandomTestUtil.randomBoolean());

    mbMailingList.setOutServerName(RandomTestUtil.randomString());

    mbMailingList.setOutServerPort(RandomTestUtil.nextInt());

    mbMailingList.setOutUseSSL(RandomTestUtil.randomBoolean());

    mbMailingList.setOutUserName(RandomTestUtil.randomString());

    mbMailingList.setOutPassword(RandomTestUtil.randomString());

    mbMailingList.setAllowAnonymous(RandomTestUtil.randomBoolean());

    mbMailingList.setActive(RandomTestUtil.randomBoolean());

    _mbMailingLists.add(_persistence.update(mbMailingList));

    return mbMailingList;
  }
  @Test
  public void testUpdateExisting() throws Exception {
    long pk = RandomTestUtil.nextLong();

    SystemEvent newSystemEvent = _persistence.create(pk);

    newSystemEvent.setMvccVersion(RandomTestUtil.nextLong());

    newSystemEvent.setGroupId(RandomTestUtil.nextLong());

    newSystemEvent.setCompanyId(RandomTestUtil.nextLong());

    newSystemEvent.setUserId(RandomTestUtil.nextLong());

    newSystemEvent.setUserName(RandomTestUtil.randomString());

    newSystemEvent.setCreateDate(RandomTestUtil.nextDate());

    newSystemEvent.setClassNameId(RandomTestUtil.nextLong());

    newSystemEvent.setClassPK(RandomTestUtil.nextLong());

    newSystemEvent.setClassUuid(RandomTestUtil.randomString());

    newSystemEvent.setReferrerClassNameId(RandomTestUtil.nextLong());

    newSystemEvent.setParentSystemEventId(RandomTestUtil.nextLong());

    newSystemEvent.setSystemEventSetKey(RandomTestUtil.nextLong());

    newSystemEvent.setType(RandomTestUtil.nextInt());

    newSystemEvent.setExtraData(RandomTestUtil.randomString());

    _systemEvents.add(_persistence.update(newSystemEvent));

    SystemEvent existingSystemEvent = _persistence.findByPrimaryKey(newSystemEvent.getPrimaryKey());

    Assert.assertEquals(existingSystemEvent.getMvccVersion(), newSystemEvent.getMvccVersion());
    Assert.assertEquals(existingSystemEvent.getSystemEventId(), newSystemEvent.getSystemEventId());
    Assert.assertEquals(existingSystemEvent.getGroupId(), newSystemEvent.getGroupId());
    Assert.assertEquals(existingSystemEvent.getCompanyId(), newSystemEvent.getCompanyId());
    Assert.assertEquals(existingSystemEvent.getUserId(), newSystemEvent.getUserId());
    Assert.assertEquals(existingSystemEvent.getUserName(), newSystemEvent.getUserName());
    Assert.assertEquals(
        Time.getShortTimestamp(existingSystemEvent.getCreateDate()),
        Time.getShortTimestamp(newSystemEvent.getCreateDate()));
    Assert.assertEquals(existingSystemEvent.getClassNameId(), newSystemEvent.getClassNameId());
    Assert.assertEquals(existingSystemEvent.getClassPK(), newSystemEvent.getClassPK());
    Assert.assertEquals(existingSystemEvent.getClassUuid(), newSystemEvent.getClassUuid());
    Assert.assertEquals(
        existingSystemEvent.getReferrerClassNameId(), newSystemEvent.getReferrerClassNameId());
    Assert.assertEquals(
        existingSystemEvent.getParentSystemEventId(), newSystemEvent.getParentSystemEventId());
    Assert.assertEquals(
        existingSystemEvent.getSystemEventSetKey(), newSystemEvent.getSystemEventSetKey());
    Assert.assertEquals(existingSystemEvent.getType(), newSystemEvent.getType());
    Assert.assertEquals(existingSystemEvent.getExtraData(), newSystemEvent.getExtraData());
  }
  @Test
  public void testCountByG_U_PPPS() throws Exception {
    _persistence.countByG_U_PPPS(
        RandomTestUtil.nextLong(), RandomTestUtil.nextLong(), StringPool.BLANK);

    _persistence.countByG_U_PPPS(0L, 0L, StringPool.NULL);

    _persistence.countByG_U_PPPS(0L, 0L, (String) null);
  }
  @Test
  public void testCountByG_C_C_T() throws Exception {
    _persistence.countByG_C_C_T(
        RandomTestUtil.nextLong(),
        RandomTestUtil.nextLong(),
        RandomTestUtil.nextLong(),
        RandomTestUtil.nextInt());

    _persistence.countByG_C_C_T(0L, 0L, 0L, 0);
  }
  @Test
  public void testCountByG_P_L_P() throws Exception {
    _persistence.countByG_P_L_P(
        RandomTestUtil.nextLong(),
        RandomTestUtil.randomBoolean(),
        RandomTestUtil.nextLong(),
        StringPool.BLANK);

    _persistence.countByG_P_L_P(0L, RandomTestUtil.randomBoolean(), 0L, StringPool.NULL);

    _persistence.countByG_P_L_P(0L, RandomTestUtil.randomBoolean(), 0L, (String) null);
  }
  @Test
  public void testUpdateExisting() throws Exception {
    long pk = RandomTestUtil.nextLong();

    Team newTeam = _persistence.create(pk);

    newTeam.setMvccVersion(RandomTestUtil.nextLong());

    newTeam.setUuid(RandomTestUtil.randomString());

    newTeam.setCompanyId(RandomTestUtil.nextLong());

    newTeam.setUserId(RandomTestUtil.nextLong());

    newTeam.setUserName(RandomTestUtil.randomString());

    newTeam.setCreateDate(RandomTestUtil.nextDate());

    newTeam.setModifiedDate(RandomTestUtil.nextDate());

    newTeam.setGroupId(RandomTestUtil.nextLong());

    newTeam.setName(RandomTestUtil.randomString());

    newTeam.setDescription(RandomTestUtil.randomString());

    newTeam.setLastPublishDate(RandomTestUtil.nextDate());

    _teams.add(_persistence.update(newTeam));

    Team existingTeam = _persistence.findByPrimaryKey(newTeam.getPrimaryKey());

    Assert.assertEquals(existingTeam.getMvccVersion(), newTeam.getMvccVersion());
    Assert.assertEquals(existingTeam.getUuid(), newTeam.getUuid());
    Assert.assertEquals(existingTeam.getTeamId(), newTeam.getTeamId());
    Assert.assertEquals(existingTeam.getCompanyId(), newTeam.getCompanyId());
    Assert.assertEquals(existingTeam.getUserId(), newTeam.getUserId());
    Assert.assertEquals(existingTeam.getUserName(), newTeam.getUserName());
    Assert.assertEquals(
        Time.getShortTimestamp(existingTeam.getCreateDate()),
        Time.getShortTimestamp(newTeam.getCreateDate()));
    Assert.assertEquals(
        Time.getShortTimestamp(existingTeam.getModifiedDate()),
        Time.getShortTimestamp(newTeam.getModifiedDate()));
    Assert.assertEquals(existingTeam.getGroupId(), newTeam.getGroupId());
    Assert.assertEquals(existingTeam.getName(), newTeam.getName());
    Assert.assertEquals(existingTeam.getDescription(), newTeam.getDescription());
    Assert.assertEquals(
        Time.getShortTimestamp(existingTeam.getLastPublishDate()),
        Time.getShortTimestamp(newTeam.getLastPublishDate()));
  }
  @Test
  public void testUpdateExisting() throws Exception {
    long pk = RandomTestUtil.nextLong();

    MeetupsRegistration newMeetupsRegistration = _persistence.create(pk);

    newMeetupsRegistration.setCompanyId(RandomTestUtil.nextLong());

    newMeetupsRegistration.setUserId(RandomTestUtil.nextLong());

    newMeetupsRegistration.setUserName(RandomTestUtil.randomString());

    newMeetupsRegistration.setCreateDate(RandomTestUtil.nextDate());

    newMeetupsRegistration.setModifiedDate(RandomTestUtil.nextDate());

    newMeetupsRegistration.setMeetupsEntryId(RandomTestUtil.nextLong());

    newMeetupsRegistration.setStatus(RandomTestUtil.nextInt());

    newMeetupsRegistration.setComments(RandomTestUtil.randomString());

    _meetupsRegistrations.add(_persistence.update(newMeetupsRegistration));

    MeetupsRegistration existingMeetupsRegistration =
        _persistence.findByPrimaryKey(newMeetupsRegistration.getPrimaryKey());

    Assert.assertEquals(
        existingMeetupsRegistration.getMeetupsRegistrationId(),
        newMeetupsRegistration.getMeetupsRegistrationId());
    Assert.assertEquals(
        existingMeetupsRegistration.getCompanyId(), newMeetupsRegistration.getCompanyId());
    Assert.assertEquals(
        existingMeetupsRegistration.getUserId(), newMeetupsRegistration.getUserId());
    Assert.assertEquals(
        existingMeetupsRegistration.getUserName(), newMeetupsRegistration.getUserName());
    Assert.assertEquals(
        Time.getShortTimestamp(existingMeetupsRegistration.getCreateDate()),
        Time.getShortTimestamp(newMeetupsRegistration.getCreateDate()));
    Assert.assertEquals(
        Time.getShortTimestamp(existingMeetupsRegistration.getModifiedDate()),
        Time.getShortTimestamp(newMeetupsRegistration.getModifiedDate()));
    Assert.assertEquals(
        existingMeetupsRegistration.getMeetupsEntryId(),
        newMeetupsRegistration.getMeetupsEntryId());
    Assert.assertEquals(
        existingMeetupsRegistration.getStatus(), newMeetupsRegistration.getStatus());
    Assert.assertEquals(
        existingMeetupsRegistration.getComments(), newMeetupsRegistration.getComments());
  }
  @Test
  public void testUpdateExisting() throws Exception {
    long pk = RandomTestUtil.nextLong();

    RatingsEntry newRatingsEntry = _persistence.create(pk);

    newRatingsEntry.setUuid(RandomTestUtil.randomString());

    newRatingsEntry.setCompanyId(RandomTestUtil.nextLong());

    newRatingsEntry.setUserId(RandomTestUtil.nextLong());

    newRatingsEntry.setUserName(RandomTestUtil.randomString());

    newRatingsEntry.setCreateDate(RandomTestUtil.nextDate());

    newRatingsEntry.setModifiedDate(RandomTestUtil.nextDate());

    newRatingsEntry.setClassNameId(RandomTestUtil.nextLong());

    newRatingsEntry.setClassPK(RandomTestUtil.nextLong());

    newRatingsEntry.setScore(RandomTestUtil.nextDouble());

    newRatingsEntry.setLastPublishDate(RandomTestUtil.nextDate());

    _ratingsEntries.add(_persistence.update(newRatingsEntry));

    RatingsEntry existingRatingsEntry =
        _persistence.findByPrimaryKey(newRatingsEntry.getPrimaryKey());

    Assert.assertEquals(existingRatingsEntry.getUuid(), newRatingsEntry.getUuid());
    Assert.assertEquals(existingRatingsEntry.getEntryId(), newRatingsEntry.getEntryId());
    Assert.assertEquals(existingRatingsEntry.getCompanyId(), newRatingsEntry.getCompanyId());
    Assert.assertEquals(existingRatingsEntry.getUserId(), newRatingsEntry.getUserId());
    Assert.assertEquals(existingRatingsEntry.getUserName(), newRatingsEntry.getUserName());
    Assert.assertEquals(
        Time.getShortTimestamp(existingRatingsEntry.getCreateDate()),
        Time.getShortTimestamp(newRatingsEntry.getCreateDate()));
    Assert.assertEquals(
        Time.getShortTimestamp(existingRatingsEntry.getModifiedDate()),
        Time.getShortTimestamp(newRatingsEntry.getModifiedDate()));
    Assert.assertEquals(existingRatingsEntry.getClassNameId(), newRatingsEntry.getClassNameId());
    Assert.assertEquals(existingRatingsEntry.getClassPK(), newRatingsEntry.getClassPK());
    AssertUtils.assertEquals(existingRatingsEntry.getScore(), newRatingsEntry.getScore());
    Assert.assertEquals(
        Time.getShortTimestamp(existingRatingsEntry.getLastPublishDate()),
        Time.getShortTimestamp(newRatingsEntry.getLastPublishDate()));
  }
  @Test
  public void testFetchByPrimaryKeysWithMultiplePrimaryKeysWhereNoPrimaryKeysExist()
      throws Exception {
    long pk1 = RandomTestUtil.nextLong();

    long pk2 = RandomTestUtil.nextLong();

    Set<Serializable> primaryKeys = new HashSet<Serializable>();

    primaryKeys.add(pk1);
    primaryKeys.add(pk2);

    Map<Serializable, OrgLabor> orgLabors = _persistence.fetchByPrimaryKeys(primaryKeys);

    Assert.assertTrue(orgLabors.isEmpty());
  }
  @Test
  public void testFetchByPrimaryKeyMissing() throws Exception {
    long pk = RandomTestUtil.nextLong();

    JournalContentSearch missingJournalContentSearch = _persistence.fetchByPrimaryKey(pk);

    Assert.assertNull(missingJournalContentSearch);
  }
  @Test
  public void testFetchByPrimaryKeyMissing() throws Exception {
    long pk = RandomTestUtil.nextLong();

    DDLRecordVersion missingDDLRecordVersion = _persistence.fetchByPrimaryKey(pk);

    Assert.assertNull(missingDDLRecordVersion);
  }
  @Test
  public void testFetchByPrimaryKeyMissing() throws Exception {
    long pk = RandomTestUtil.nextLong();

    OrgLabor missingOrgLabor = _persistence.fetchByPrimaryKey(pk);

    Assert.assertNull(missingOrgLabor);
  }
  @Test
  public void testFetchByPrimaryKeyMissing() throws Exception {
    long pk = RandomTestUtil.nextLong();

    MeetupsRegistration missingMeetupsRegistration = _persistence.fetchByPrimaryKey(pk);

    Assert.assertNull(missingMeetupsRegistration);
  }
  @Test
  public void testFetchByPrimaryKeyMissing() throws Exception {
    long pk = RandomTestUtil.nextLong();

    ServiceComponent missingServiceComponent = _persistence.fetchByPrimaryKey(pk);

    Assert.assertNull(missingServiceComponent);
  }
  @Test
  public void testCountByUuid_C() throws Exception {
    _persistence.countByUuid_C(StringPool.BLANK, RandomTestUtil.nextLong());

    _persistence.countByUuid_C(StringPool.NULL, 0L);

    _persistence.countByUuid_C((String) null, 0L);
  }
  @Test
  public void testFetchByPrimaryKeyMissing() throws Exception {
    long pk = RandomTestUtil.nextLong();

    DLFileEntry missingDLFileEntry = _persistence.fetchByPrimaryKey(pk);

    Assert.assertNull(missingDLFileEntry);
  }
  @Test
  public void testFetchByPrimaryKeyMissing() throws Exception {
    long pk = RandomTestUtil.nextLong();

    KaleoTaskInstanceToken missingKaleoTaskInstanceToken = _persistence.fetchByPrimaryKey(pk);

    Assert.assertNull(missingKaleoTaskInstanceToken);
  }
  @Test
  public void testFetchByPrimaryKeyMissing() throws Exception {
    long pk = RandomTestUtil.nextLong();

    CalendarResource missingCalendarResource = _persistence.fetchByPrimaryKey(pk);

    Assert.assertNull(missingCalendarResource);
  }
  @Test
  public void testFetchByPrimaryKeyMissing() throws Exception {
    long pk = RandomTestUtil.nextLong();

    MBMailingList missingMBMailingList = _persistence.fetchByPrimaryKey(pk);

    Assert.assertNull(missingMBMailingList);
  }