InvocationSpy class, checks how often method of given object is invoked and prohibits invocations that raises a limit