I get the following error when I try to save a test class with List<sObject> recordTypes = Test.loadData(RecordType.sObjectType, 'Record_Types');
"Method does not exist or incorrect signature: void loadData(Schema.SObjectField, String) from the type System.Test"
If I replace RecordType with any other standard-object name (e.g. Account, Opportunity, CaseHistory, etc.), the code compiles. I tried googling the matter, but no luck.
Can a static resource of record types really not be loaded in apex, or am I missing something?