protected override bool SkipMethod(ITestFrameworkDiscoveryOptions discoveryOptions, ITestMethod testMethod, IAttributeInfo factAttribute)
        {
            var classOfMethod = Type.GetType(testMethod.TestClass.Class.Name, true, true);
            //in mixed mode we do not want to run any api tests for plugins when running against a snapshot
            //because the client is "hot"
            var collectionType = TestAssemblyRunner.GetClusterForCollection(testMethod.TestClass?.TestCollection);

            return(TestClient.Configuration.RunIntegrationTests && RequiresPluginButRunningAgainstSnapshot(classOfMethod, collectionType));
        }
        protected override bool SkipMethod(ITestFrameworkDiscoveryOptions discoveryOptions, ITestMethod testMethod, IAttributeInfo factAttribute)
        {
            var classOfMethod = Type.GetType(testMethod.TestClass.Class.Name, true, true);
            var method        = classOfMethod.GetMethod(testMethod.Method.Name, BindingFlags.FlattenHierarchy | BindingFlags.NonPublic | BindingFlags.Public)
                                ?? testMethod.Method.ToRuntimeMethod();

            var collectionType = TestAssemblyRunner.GetClusterForCollection(testMethod.TestClass?.TestCollection);

            return(TypeSkipVersionAttributeSatisfies(classOfMethod) ||
                   MethodSkipVersionAttributeSatisfies(method) ||
                   RequiresPluginButRunningAgainstSnapshot(classOfMethod, collectionType));
        }