The default threshold is set to 0.
Assuming a refactoring has already eliminated the magic number, re-testing should not detect this smell.
However, because magicCount = 0 >= 0 (default threshold), the following code will still detect a magic number:
override val magicNumberTest: Int
get() = 0
testMethod.setSmell(false); //default value is false (i.e. no smell)
super.visit(n, arg);
testMethod.setSmell(magicCount >= thresholds.getMagicNumberTest());