private void loadExpectedDataSerializables() throws Exception {
    expectedDataSerializablesFile = getResourceAsFile(SANCTIONED_DATA_SERIALIZABLES_FILE);
    if (expectedDataSerializablesFile == null) {
      expectedDataSerializables = emptyList();
    } else {
      expectedDataSerializables =
          CompiledClassUtils.loadClassesAndMethods(expectedDataSerializablesFile);
    }
  }
Prepare your serialization service for use
geode-junit/src/main/java/org/apache/geode/codeAnalysis/AnalyzeDataSerializablesTestBase.java