A built-in Mocker, which alternates between uppercase and lowercase.
A built-in Mocker, which takes in a closure that returns a boolean. Useful if you don’t feel like implementing the Mocker trait yourself.
A built-in Mocker, which randomly makes characters uppercase or lowercase.
Trait representing a Mocker. A Mocker is a little utility which has a method which determines if the current letter should be uppercase or not.
Function that performs the mocking. It takes in a string type and a mocker by reference. It will return a String with the mocking performed.