public function provideTestGetInvocations()
{
eval("function testGetInvocations_noParameters() { return 123; }");
eval("function testGetInvocations_oneParameter(\$a) { return \$a + 1; }");
eval("function testGetInvocations_twoParameters(\$a, \$b) { return \$a + \$b; }");
eval("function testGetInvocations_optionalParameter(\$a = null) { return \$a; }");
return [[[], "testGetInvocations_noParameters", function () {
}], [[new Invocation([], 123)], "testGetInvocations_noParameters", function () {
testGetInvocations_noParameters();
}], [[new Invocation([], 123), new Invocation([], 123)], "testGetInvocations_noParameters", function () {
testGetInvocations_noParameters();
testGetInvocations_noParameters();
}], [[new Invocation([1], 2)], "testGetInvocations_oneParameter", function () {
testGetInvocations_oneParameter(1);
}], [[new Invocation([1, 2], 3)], "testGetInvocations_twoParameters", function () {
testGetInvocations_twoParameters(1, 2);
}], [[new Invocation([], null)], "testGetInvocations_optionalParameter", function () {
testGetInvocations_optionalParameter();
}], [[new Invocation([123], 123)], "testGetInvocations_optionalParameter", function () {
testGetInvocations_optionalParameter(123);
}]];
}