public void CreateSingleSession_SetsFirstNewSessionAddedProperly()
        {
            InitProject();            //todo: remove this when CreateSingleSession no longer uses a static

            using (var one = new TempFile())
                using (var two = new TempFile())
                {
                    using (var model = new NewSessionsFromFileDlgViewModel())
                    {
                        Assert.IsNull(model.FirstNewSessionAdded);
                        model.CreateSingleSession(one.Path);
                        model.CreateSingleSession(two.Path);
                        Assert.AreEqual(Path.GetFileNameWithoutExtension(one.Path), model.FirstNewSessionAdded);
                    }
                }
        }
 public void CreateSingleSession_NullFileIsIgnored()
 {
     _viewModel.CreateSingleSession(null);
 }