public void AddElementCommandDoesNotThrowNullReferenceExceptionWhenWhenNoActivePackageFilesView()
        {
            mockWorkbench.ActiveContent = null;
            DerivedAddElementCommand command = new DerivedAddElementCommand("name", mockWorkbench);

            Assert.DoesNotThrow(delegate { command.CallOnClick(); });
        }
        public void AddElementCallsWixPackageFilesAddElementMethod()
        {
            DerivedAddElementCommand command = new DerivedAddElementCommand("name", mockWorkbench);

            command.CallOnClick();
            Assert.AreEqual("name", mockPackageFilesControl.AddElementNameParameter);
        }