public void Constructor() { ApplicationPropertiesService applicationPropertiesService = new ApplicationPropertiesService(); Assert.False(string.IsNullOrEmpty(applicationPropertiesService.ProductName)); Assert.False(string.IsNullOrEmpty(applicationPropertiesService.Version)); Assert.False(string.IsNullOrEmpty(applicationPropertiesService.Copyright)); Assert.False(string.IsNullOrEmpty(applicationPropertiesService.ProductDescription)); }
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)); }
public AboutBoxController(ApplicationPropertiesService applicationPropertiesService) { this.applicationPropertiesService = applicationPropertiesService; }