`attr_accessor` cannot be used outside of a class. There are ways to check whether an accessor exists on a class, but again, this is somewhat secondary to testing the methods. (recall in my example, I tested the accessors implicitly in my initializer test)