Exemplo n.º 1
0
        public AboutBoxView(AboutBoxController aboutBoxController)
        {
            this.InitializeComponent();

            this.aboutBoxController = aboutBoxController;

            this.InitializeFields();
        }
        public void Constructor()
        {
            ApplicationPropertiesService applicationPropertiesService = new ApplicationPropertiesService();
            AboutBoxController           aboutBoxController           = new AboutBoxController(applicationPropertiesService);

            Assert.False(string.IsNullOrEmpty(aboutBoxController.Product.ProductName));
            Assert.False(string.IsNullOrEmpty(aboutBoxController.Product.Version));
            Assert.False(string.IsNullOrEmpty(aboutBoxController.Product.Copyright));
            Assert.False(string.IsNullOrEmpty(aboutBoxController.Product.ProductDescription));
        }