signet .getSubsystem(Constants.SUBSYSTEM_ID) .getFunction(fixtures.makeFunctionId(permissionIndex)));
Common.getFunction (signet.getSubsystem(Constants.SUBSYSTEM_ID), fixtures.makeFunctionId(permissionIndex)));
  public final void testGetFunctionsArray()  throws  	ObjectNotFoundException  {    for (int permissionIndex = 0;		 		 permissionIndex < Constants.MAX_PERMISSIONS;		 		 permissionIndex++)    {      Permission permission      	= signet      			.getSubsystem(Constants.SUBSYSTEM_ID)      				.getPermission      					(fixtures.makePermissionId(permissionIndex));      // Permission 0 is associated with Function 0, Permission 1 is      // associated with Function 1, and so forth.      Set functions = permission.getFunctions();      assertEquals(1, functions.size());      assertEquals      	(Common.getSingleSetMember(functions),      	 signet      	 	.getSubsystem(Constants.SUBSYSTEM_ID)      	 		.getFunction(fixtures.makeFunctionId(permissionIndex)));    }  }