hprange / wounit

The WOUnit framework contains a set of utilities for testing WebObjects applications using JUnit 4.7 or later capabilities.
http://hprange.github.io/wounit/
Apache License 2.0
19 stars 18 forks source link

Fetching with a limit causes ArrayIndexOutOfBoundsException #12

Closed hprange closed 13 years ago

hprange commented 13 years ago

Steps to reproduce:

  1. Insert one EO into the MockEditingContext.
  2. Create a fetch specification for the EO's entity.
  3. Set the fetching limit to two.
  4. Call the objectsWithFetchspecification method.

An ArrayIndexOutOfBoundsException is thrown.