public void TestThatNewDocumentCreatesNewDocumentWithBaseLayer() { ViewModelMain viewModel = new ViewModelMain(); viewModel.NewDocument(5, 5); Assert.NotNull(viewModel.BitmapManager.ActiveDocument); Assert.Single(viewModel.BitmapManager.ActiveDocument.Layers); }