public void TestThatDocumentIsNotNullReturnsTrue() { ViewModelMain viewModel = new ViewModelMain(); viewModel.BitmapManager.ActiveDocument = new Document(1, 1); Assert.True(viewModel.DocumentIsNotNull(null)); }