You can clone with
HTTPS or Subversion.
In Lmock, anyOf(class) and aNonNullOf(class) express "with any argument of class" and "with any non null argument of class".
This is pretty confusing for JMock users who regularly make the mistake of saying with(anyOf(class)) and with(aNonNullOf(class)).
The resulting behavior is not that clear, even considering the warnings in the documentation.
So Lmock should either be able to include those clauses within a with clause or to raise an explicit error if such pattern appears.