Exemplo n.º 1
0
        public void GetServiceTypeInfo_DefaultValues()
        {
            // Action
            MockWrapperFactory.Instance.ServiceManagementServer
            .Setup(i => i.GetServiceType(
                       It.IsAny <Guid>()))
            .Returns(Resources.ServiceType_ADService);

            // Action
            var serviceType = SmartObjectHelper.GetServiceTypeInfo(Guid.NewGuid());

            // Assert
            Assert.IsNotNull(serviceType);
        }