'Ensure GetReportByName instantiates correct subclasses based on name.'

def testGetReportByName(self):

    with report_plugins_test_mocks.MockedReportPlugins():
        report_object = report_plugins.GetReportByName('BarReportPlugin')
        self.assertTrue(isinstance(report_object, report_plugins_test_mocks.BarReportPlugin))
