CheckTypeResource
CheckTypeResource(file, testType1);
CheckTypeResource(file, testType2);
CheckTypeResource(file, invalidTestType);