= signet .getSubsystem(Constants.SUBSYSTEM_ID) .getFunction (fixtures.makeFunctionId(functionIndex));
= Common.getFunction (signet.getSubsystem(Constants.SUBSYSTEM_ID), fixtures.makeFunctionId(functionIndex));
  public final void testGetPermissions()  throws  	ObjectNotFoundException  {    for (int functionIndex = 0;		 		 functionIndex < Constants.MAX_FUNCTIONS;		 		 functionIndex++)    {      Function function      	= signet      			.getSubsystem(Constants.SUBSYSTEM_ID)      				.getFunction      					(fixtures.makeFunctionId(functionIndex));      // Function 0 contains Permission 0, Function 1 Permission Limit 1,      // and so forth.      Set permissions = function.getPermissions();      assertEquals(permissions.size(), 1);      Permission permission = null;      Iterator permissionsIterator = permissions.iterator();      while (permissionsIterator.hasNext())      {        permission = (Permission)(permissionsIterator.next());      }            assertEquals        (fixtures.makePermissionId(functionIndex),         permission.getId());    }  }