I guess you meant
````
assert.equal(C[sym](), 42);
````
That is, access the static by Symbol then call it.