= pSubject0.getAssignmentsReceived(null, null, null);
= pSubject0.getAssignmentsReceived((Status)null, null, null);
  public final void testEvaluate()  throws    ObjectNotFoundException,    SignetAuthorityException  {    Assignment assignment = null;        PrivilegedSubject superPsubject = signet.getSignetSubject();        Subject subject0      = signet.getSubject          (Signet.DEFAULT_SUBJECT_TYPE_ID, fixtures.makeSubjectId(0));    PrivilegedSubject pSubject0 = signet.getPrivilegedSubject(subject0);        // Get any one of subject0's Assignments - we don't care which one.    Set assignmentsReceived      = pSubject0.getAssignmentsReceived(null, null, null);    Iterator assignmentsReceivedIterator = assignmentsReceived.iterator();    while (assignmentsReceivedIterator.hasNext())    {      assignment = (Assignment)(assignmentsReceivedIterator.next());    }        assertNotNull(assignment);        Date lastWeek  = Common.getDate(-7);    Date yesterday = Common.getDate(-1);    Date tomorrow = Common.getDate(1);    Date nextWeek = Common.getDate(7);        PrivilegedSubject grantor = Common.getOriginalGrantor(assignment);        assignment.setEffectiveDate(grantor, lastWeek);    assignment.setExpirationDate(grantor, yesterday);    assertEquals(Status.INACTIVE, assignment.evaluate());        assignment.setEffectiveDate(grantor, yesterday);    assignment.setExpirationDate(grantor, tomorrow);    assertEquals(Status.ACTIVE, assignment.evaluate());        assignment.setEffectiveDate(grantor, tomorrow);    assignment.setExpirationDate(grantor, nextWeek);    assertEquals(Status.PENDING, assignment.evaluate());  }