예제 #1
0
        public void ApproveCreateAlbumView()
        {
            // Do
            var data = new FileInfo(Constants.XmlDataFilePath);
            if (data.Exists)
            {
                data.Delete();
            }

            using (var mainForm = new MainForm())
            {
                mainForm.ShowScreen("CreateAlbum");

                // Approve
                ApprovalResults.UniqueForMachineName();
                WinFormsApprovals.Verify(mainForm);
            }
        }