private static Test CreateAssemblyTest(IAssemblyInfo assembly, string assemblyLocation, Action <Test> consumer)
        {
            CSUnitAssemblyTest assemblyTest = new CSUnitAssemblyTest(assembly, assemblyLocation);

            assemblyTest.LocalIdHint = assembly.Name; // used to do reverse lookup
            assemblyTest.Kind        = TestKinds.Assembly;

            PopulateAssemblyMetadata(assembly, assemblyTest.Metadata);

            if (consumer != null)
            {
                consumer(assemblyTest);
            }

            return(assemblyTest);
        }
        private static Test CreateAssemblyTest(IAssemblyInfo assembly, string assemblyLocation, Action<Test> consumer)
        {
            CSUnitAssemblyTest assemblyTest = new CSUnitAssemblyTest(assembly, assemblyLocation);
            assemblyTest.LocalIdHint = assembly.Name; // used to do reverse lookup
            assemblyTest.Kind = TestKinds.Assembly;

            PopulateAssemblyMetadata(assembly, assemblyTest.Metadata);

            if (consumer != null)
                consumer(assemblyTest);

            return assemblyTest;
        }