Reformatted the test
TK-117375 Made changes to ManagedRateLimitCache to reflect new patch methodology. Not happy about the subclassing i had to do, but our current data mode kind of required it
TK-117375 Implemented the Patch class on UserRateLimit
TK-117375 Inlined the result rate limit which i never really liked anyway, because i realized all the methods in the parent were going to need to create one anyway.
TK-117375 Realized new from patch needed to specify whether it was within limit which prompt the merge of the subclass in the first place.
TK-117375 Implemented apply patch on UserRateLimit
Have to return a copy when creating from scratch so that values aren't changing underneath
Did some more mocking that was required for this test
More adjustments to this test. looks like ttl is just a suggestion as far as ehache is concerned.
Added a test and fix for a potential NPE
Couple of minor test tweaks
Had to make configured rate limit serializable
When the wrning is checked has changed meaning it goes off one more time than before
TK-117375 Updated the changes to better reflect Jorge's proposed design
tweaked a unit test that needed updating
Added a change that probably should have been in the tests to begin with