def METHOD_NAME(self):
    """
    _testStoreResults_
    Create a StoreResults workflow and verify it installs into WMBS
    correctly.
    """
    arguments = StoreResultsWorkloadFactory.getTestArguments()
    factory = StoreResultsWorkloadFactory()
    testWorkload = factory.factoryWorkloadConstruction("TestWorkload", arguments)
    testWMBSHelper = WMBSHelper(testWorkload, "StoreResults", "SomeBlock", cachepath=self.testDir)
    testWMBSHelper.createTopLevelFileset()
    testWMBSHelper._createSubscriptionsInWMBS(testWMBSHelper.topLevelTask, testWMBSHelper.topLevelFileset)
    testWorkflow = Workflow(name="TestWorkload",
                            task="/TestWorkload/StoreResults")
    testWorkflow.load()
    self.assertEqual(len(testWorkflow.outputMap), 2,
                     "Error: Wrong number of WF outputs.")
    goldenOutputMods = {"Merged": "USER"}
    for goldenOutputMod, tier in viewitems(goldenOutputMods):
        fset = goldenOutputMod + tier
        mergedOutput = testWorkflow.outputMap[fset][0]["merged_output_fileset"]
        unmergedOutput = testWorkflow.outputMap[fset][0]["output_fileset"]
        mergedOutput.loadData()
        unmergedOutput.loadData()
        self.assertEqual(mergedOutput.name, "/TestWorkload/StoreResults/merged-%s" % fset,
                         "Error: Merged output fileset is wrong: %s" % mergedOutput.name)
        self.assertEqual(unmergedOutput.name, "/TestWorkload/StoreResults/merged-%s" % fset,
                         "Error: Unmerged output fileset is wrong: %s." % unmergedOutput.name)
    logArchOutput = testWorkflow.outputMap["logArchive"][0]["merged_output_fileset"]
    unmergedLogArchOutput = testWorkflow.outputMap["logArchive"][0]["output_fileset"]
    logArchOutput.loadData()
    unmergedLogArchOutput.loadData()
    self.assertEqual(logArchOutput.name, "/TestWorkload/StoreResults/merged-logArchive",
                     "Error: LogArchive output fileset is wrong.")
    self.assertEqual(unmergedLogArchOutput.name, "/TestWorkload/StoreResults/merged-logArchive",
                     "Error: LogArchive output fileset is wrong.")
    topLevelFileset = Fileset(name="TestWorkload-StoreResults-SomeBlock")
    topLevelFileset.loadData()
    procSubscription = Subscription(fileset=topLevelFileset, workflow=testWorkflow)
    procSubscription.loadData()
    self.assertEqual(procSubscription["type"], "Merge",
                     "Error: Wrong subscription type.")
    self.assertEqual(procSubscription["split_algo"], "ParentlessMergeBySize",
                     "Error: Wrong split algo.")
    return