Beispiel #1
0
        public void ConstructorShouldCreate_PendingLogoApprovalViewModel_WithoutParams()
        {
            // Act & Assert
            var pendingLogoApprovalDomainViewModel = new PendingLogoApprovalDomainViewModel();

            Assert.IsInstanceOf <PendingLogoApprovalDomainViewModel>(pendingLogoApprovalDomainViewModel);
        }
Beispiel #2
0
        public void PendingLogoApprovalDomainViewModel_Should_Set_Properties_Correctly_With_CorrectData()
        {
            // Arrange
            var logoUrl = "logoUrl";
            var pendingLogoApprovalDomainViewModel = new PendingLogoApprovalDomainViewModel()
            {
                LogoUrl = logoUrl
            };

            // Act & Assert
            Assert.AreEqual(logoUrl, pendingLogoApprovalDomainViewModel.LogoUrl);
        }