Hello Jackie,
Unfortunately you cannot use Mockito with Java 1.4. The code base use features of Java 1.5.
As a side note in your line of code, you are using autoboxing, however this feature is not available in Java 1.4.
In similar situation you will have to wrap yourself primary types.
Mockito.when(new Boolean(typedProperty.containsKey("requestedShipDate"))).thenReturn(new Boolean(true));
However as I say, Mockito won't work with Java 1.4.
I think the old version of easymock might do the job in Java 1.4, but it's trickier to put in place.
Hope that helps,
--
Bryce