mxunit/mxunit — pull request #32 by adampresley (2013-07-03 04:04:06+00:00)
Title: Verifier methods case sensitivity

When a call to a **verify()** method using named parameters does not have the same case as the keys in the method mock definition the verify would fail. For example, consider the following code:

```coldfusion

var employeeDAOMock = mock();
employeeDAOMock.updateEmployee(
firstName="{string}",
lastName="{string}",
age="{any}",
height="{any}"
);

injectProperty(variables.employeeService, "employeeDAO", employeeDAOMock);

variables.employeeService.updateEmployee(
firstName="Bob",
lastName="Hope",
age=125,
height=6.7
);

variables.employeeService.employeeDAO.verifyOnce().updateEmployee(
firstName="{string}",
LASTNAME="{string}",
age="{any}",
HEIght="{any}"
);

```

Notice the keys in the mock definition do not match the case of the keys in the verify() call. By default the TreeMap comparator is case sensitive. I changed the code to instantiate the TreeMap using a case insensitive comparator and THEN add all the missing method args. This was tested and verified in ColdFusion 9.