secondValue.getMatchingValue(String.class);
secondValueControl.setReturnValue(expected[i]);
// set the state of the mock objects to "replay"
firstValueControl.replay();
secondValueControl.replay();
String[] actual = (String[]) this.array.getMatchingValue(type);
assertTrue("Expected: " + Arrays.toString(expected) + " but was: "
+ Arrays.toString(actual), Arrays.equals(expected, actual));