(null, null, null)));
((Status)null, null, null)));
  public final void testGrant()  throws  	SignetAuthorityException,  	ObjectNotFoundException  {    // We'll attempt to have subject 2 grant a privilege to subject 0.        Subject subject0 = signet.getSubject(    		Signet.DEFAULT_SUBJECT_TYPE_ID, fixtures.makeSubjectId(0));    Subject subject2 = signet.getSubject(    		Signet.DEFAULT_SUBJECT_TYPE_ID, fixtures.makeSubjectId(2));        PrivilegedSubject pSubject0 = signet.getPrivilegedSubject(subject0);    PrivilegedSubject pSubject2 = signet.getPrivilegedSubject(subject2);        Assignment oldAssignment    	= (Assignment)    			(Common.getSingleSetMember    			  (pSubject2.getAssignmentsReceived    			    (null, null, null)));    Set oldLimitValues = oldAssignment.getLimitValues();        Assignment newAssignment    	= pSubject2.grant    			(pSubject0,    			 oldAssignment.getScope(),    			 oldAssignment.getFunction(),    			 oldLimitValues,    			 false, // canUse    			 true, // canGrant           new Date(),  // effective immediately           null);       // no expiration date        assertNotNull(newAssignment);  }