You can just do:

    return fClass == other.fClass

(it amazes me that it is valid to construct an instance of `TestClass` with a null `Class`)