assertEquals(1, limits.length); assertEquals (signet .getSubsystem(Constants.SUBSYSTEM_ID) .getFunction(fixtures.makeFunctionId(functionIndex)) .getLimitsArray()[0], limits[0]);
int limitCount = functionIndex + 1; assertEquals(limitCount, limits.length);  for (int limitIndex = 0; limitIndex < limitCount; limitIndex++) { assertEquals (signet .getSubsystem(Constants.SUBSYSTEM_ID) .getFunction(fixtures.makeFunctionId(functionIndex)) .getLimitsArray()[limitIndex], limits[limitIndex]); }
  public final void testGetLimitsArray()  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 limit 0, Function 1 contains Limit 1,      // and so forth.      Limit[] limits = function.getLimitsArray();      assertEquals(1, limits.length);      assertEquals      	(signet      	 	.getSubsystem(Constants.SUBSYSTEM_ID)      	 		.getFunction(fixtures.makeFunctionId(functionIndex))      	 		  .getLimitsArray()[0],      	 limits[0]);    }  }