assertEquals(1, limits.length); assertEquals (limits[0], signet .getSubsystem(Constants.SUBSYSTEM_ID) .getLimit(fixtures.makeLimitId(permissionIndex)));
assertEquals(permissionIndex + 1, limits.length);  for (int limitNumber = 0; limitNumber < limits.length; limitNumber++) { assertEquals (limits[limitNumber], signet .getSubsystem(Constants.SUBSYSTEM_ID) .getLimit(fixtures.makeLimitId(limitNumber))); }
  public final void testGetLimitsArray()  throws  	ObjectNotFoundException  {    for (int permissionIndex = 0;		 		 permissionIndex < Constants.MAX_PERMISSIONS;		 		 permissionIndex++)    {      Permission permission      	= signet      			.getSubsystem(Constants.SUBSYSTEM_ID)      				.getPermission      					(fixtures.makePermissionId(permissionIndex));      // Permission 0 contains limit 0, Permission 1 contains Limit 1,      // and so forth.      Limit[] limits = permission.getLimitsArray();      assertEquals(1, limits.length);      assertEquals      	(limits[0],      	 signet      	 	.getSubsystem(Constants.SUBSYSTEM_ID)      	 		.getLimit(fixtures.makeLimitId(permissionIndex)));    }  }