class Class
The legacy ‘:should` syntax adds the `any_instance` to `Class`. We generally recommend you use the newer `:expect` syntax instead, which allows you to stub any instance of a class using `allow_any_instance_of(klass)` or mock any instance using `expect_any_instance_of(klass)`. @see BasicObject