public void Resolve_With_No_Dependency()
        {
            var property           = typeof(TestService).GetProperty("NoDependency");
            var propertyDependency = ServiceDependencyAttribute.GetServiceDependency(property);

            Assert.IsNull(propertyDependency);
            //
            var parameter           = typeof(TestService).GetMethod("Method").GetParameters()[0];
            var parameterDependency = ServiceDependencyAttribute.GetServiceDependency(parameter);

            Assert.IsNull(parameterDependency);
        }
        public void Resolve_With_Dependency()
        {
            var property           = typeof(TestService).GetProperty("Dependency");
            var propertyDependency = ServiceDependencyAttribute.GetServiceDependency(property);

            Assert.IsNotNull(propertyDependency);
            Assert.AreEqual("Test", propertyDependency.Name);
            //
            var parameter           = typeof(TestService).GetMethod("Method").GetParameters()[1];
            var parameterDependency = ServiceDependencyAttribute.GetServiceDependency(parameter);

            Assert.IsNotNull(parameterDependency);
            Assert.AreEqual("Test", parameterDependency.Name);
        }