public void Init()
		{
			mockService = new MockService("TestUser", "NewProjectWithoutContent");
			viewModel = new UIEditorViewModel(mockService);
			viewModel.ClearScene("");
			viewModel.UiEditorScene.RefreshOnContentChange();
			viewModel.Reset();
		}
		public void GetAvailableProjectNames()
		{
			var service = new MockService("John Doe", "LogoApp");
			bool hasAvailableProjectsChanged = false;
			service.AvailableProjectsChanged += () => hasAvailableProjectsChanged = true;
			Assert.IsFalse(hasAvailableProjectsChanged);
			service.SetAvailableProjects("LogoApp", "GhostWars");
			Assert.IsTrue(hasAvailableProjectsChanged);
			Assert.AreEqual(2, service.AvailableProjects.Length);
			Assert.AreEqual("LogoApp", service.AvailableProjects[0]);
			Assert.AreEqual("GhostWars", service.AvailableProjects[1]);
		}
		//ncrunch: no coverage start
		public DesignEditorViewModel()
		{
			SetLoginState(true);
			SetErrorMessage("Error message");
			LogInfoToLogOutput("Log message");
			ApiKey = "1A2B3C4D-5E6F-7G8H-9I0J-1K2L3M4N5O6P";
			Service = new MockService("exDreamDuck", "Game - The Game");
			AvailableProjects = new List<string> { "Project One", "Project Two", "Project Three" };
			SelectedProject = AvailableProjects[0];
			EditorPlugins = new List<EditorPluginView> { new DesignEditorPlugin() };
			IsContentReady = false;
			OnLoginButtonClicked = OnLogoutButtonClicked = null;
			VersionNumber = "v1.2.3";
			SetUpPopupMessage();
		}
 public void SetUpParticleEditor()
 {
     mockService = new MockService("TestName", "TestProject");
     viewModel = new ParticleEditorViewModel(mockService);
 }
		public void InitializeMessageViewModelAndService()
		{
			service = new MockService("TestUser", "TestProject");
			messageViewModel = new PopupMessageViewModel(service, MessageDisplayTime);
		}
		public void SetUp()
		{
			controlChanger = new ControlChanger();
			var service = new MockService("", "");
			uiEditorScene = new UIEditorScene(service);
		}
		public void SetUp()
		{
			materialEditor = new MockMaterialEditorViewModel();
			mockService = new MockService("Test", "Test");
			viewModel = new MaterialEditorViewModel(mockService);
		}
		public void SetupViewModel()
		{
			mockService = new MockService("TestName", "TestProject");
			viewModel = new FontCreatorViewModel(mockService);
		}
		public void Create()
		{
			mockService = new MockService("John Doe", "LogoApp");
			viewModel = new ProjectCreatorViewModel(mockService);
		}
		public void SetUp()
		{
			service = new MockService("TestUser", "DeltaEngine.Editor.ImageAnimationEditor.Tests");
			editor = new AnimationEditorViewModel(service);
		}
 public void SetUp()
 {
     mockService = new MockService("TestUser", "MaterialTests");
     materialEditor = new MaterialEditorViewModel(mockService);
 }
 public void Init()
 {
     mockService = new MockService("TestUser", "NewProjectWithoutContent");
     viewModel = new UIEditorViewModel(mockService);
     viewModel.ClearScene("");
 }