public void Test_FindStrategies_FindsAuthoriseReferenceMockPublicEntityStrategy()
        {
            StrategyScanner scanner = new StrategyScanner();

            string[] assemblyPaths = new string[] {
                Assembly.Load("SoftwareMonkeys.SiteStarter.Business.Tests").Location
            };

            scanner.AssemblyPaths = assemblyPaths;

            StrategyInfo[] strategies = scanner.FindStrategies(true);

            Assert.Greater(strategies.Length, 0);

            bool authoriseReferenceStrategyFound = false;

            string expectedTypeString = typeof(AuthoriseReferenceMockPublicEntityStrategy).FullName + ", " + typeof(AuthoriseReferenceMockPublicEntityStrategy).Assembly.GetName().Name;

            foreach (StrategyInfo strategy in strategies)
            {
                if (strategy is AuthoriseReferenceStrategyInfo)
                {
                    if (strategy.StrategyType == expectedTypeString)
                    {
                        authoriseReferenceStrategyFound = true;
                    }
                }
            }

            Assert.IsTrue(authoriseReferenceStrategyFound, "AuthoriseReferenceMockPublicEntityStrategy info not found.");
        }
        public void Test_FindStrategies_FindsAuthoriseReferenceStrategy()
        {
            StrategyScanner scanner = new StrategyScanner();

            string[] assemblyPaths = new string[] {
                Assembly.Load("SoftwareMonkeys.SiteStarter.Business.Tests").Location
            };

            scanner.AssemblyPaths = assemblyPaths;

            StrategyInfo[] strategies = scanner.FindStrategies(true);

            Assert.Greater(strategies.Length, 0);

            bool authoriseReferenceStrategyFound = false;

            foreach (StrategyInfo strategy in strategies)
            {
                if (strategy is AuthoriseReferenceStrategyInfo)
                {
                    authoriseReferenceStrategyFound = true;
                }
            }

            Assert.IsTrue(authoriseReferenceStrategyFound, "No authorise reference strategies found.");
        }
        public void Test_FindStrategies()
        {
            StrategyScanner scanner = new StrategyScanner();


            string[] assemblyPaths = new string[] {
                Assembly.Load("SoftwareMonkeys.SiteStarter.Business").Location
            };

            scanner.AssemblyPaths = assemblyPaths;

            StrategyInfo[] strategies = scanner.FindStrategies();

            Assert.Greater(strategies.Length, 0);
        }