public void CreateInjectionMembers_ToTypeMethodHasCallHandlerAttribute_ReturnsInjectionMembers()
		{
			var factory = new InjectionMemberFactory(AutomapperConfig.Create());

			// Act
			var members = factory.CreateInjectionMembers(new TypeMapping(typeof(EmptyInterface), typeof(EmptyInterfaceAttributeOnMethod)));

			// Assert
			AssertHasInjectionMembers(members);
		}
		public void CreateInjectionMembers_TypeIsNotPolicyInjected_ReturnsEmptyCollection()
		{
			var factory = new InjectionMemberFactory(AutomapperConfig.Create());

			// Act
			var members = factory.CreateInjectionMembers(new TypeMapping(typeof(String), typeof(String)));

			// Assert
			Assert.IsFalse(members.Any());
		}
		public void CreateInjectionMembers_FromTypeMethodHasCallHandlerAttribute_ReturnsInjectionMembers()
		{
			var factory = new InjectionMemberFactory(AutomapperConfig.Create());

			// Act
			var members = factory.CreateInjectionMembers(new TypeMapping(typeof(OtherInterface), typeof(SampleImplementer)));

			// Assert
			AssertHasInjectionMembers(members);
		}
		public void CreateInjectionMembers_TypeIsPolicyInjected_ReturnsInjectionMembers()
		{
			var factory = new InjectionMemberFactory(AutomapperConfig.Create().AndUsePolicyInjectionFor(typeof(String)));

			// Act
			var members = factory.CreateInjectionMembers(new TypeMapping(typeof(String), typeof(String)));

			// Assert
			AssertHasInjectionMembers(members);
		}