public void All_located_solarSystems_are_returned(int number)
        {
            var securityManager = new Mock<ISecurityManager>();
            securityManager.SetupGetCurrentUserAccountToReturnUserAccount();
            var solarSystems = new Mock<ISolarSystems>();
            solarSystems.SetupFindSystemsInLocalArea(number);
            var manager = Create.BusinessLogicClass.NavigationManager(securityManager.Object, solarSystems.Object);

            var result = manager.FindLocalSystems(Create.DomainClasses.ScreenSize());

            Assert.AreEqual(number, result.SolarSystems.Count());
        }
 private static NavigationManager CreateNavigationManagerToReturnSolarSystem(SolarSystem solarSystem, UserAccount userAccount = null)
 {
     var securityManager = new Mock<ISecurityManager>();
     securityManager.SetupGetCurrentUserAccountToReturnUserAccount(userAccount);
     var solarSystems = new Mock<ISolarSystems>();
     solarSystems.SetupFindSystemsInLocalArea(solarSystem);
     var manager = Create.BusinessLogicClass.NavigationManager(securityManager.Object, solarSystems.Object);
     return manager;
 }