In my code, I have this line:
if (!csd.renewal_success_Enabled__c && !Test.isRunningTest()) ...
When I build my solution, TWS gives me this error:
Method does not exist or incorrect signature: Test.isRunningTest()
The isRunningTest() method does exist (it's a static method in the Test class), and the signature is correct. This is existing code that I imported in TWS and it runs without error.
Is this a bug?