Esempio n. 1
0
        public void ResolveReturnsConstructorWhenArgsContainsNullAndNonNullArgIsCopyConstructor()
        {
            var source = Clone.Create();

            var sut = new DefaultConstructorResolver(CacheLevel.PerInstance);

            var actual = sut.Resolve(typeof(Clone), source, null !) !;

            actual.GetParameters().Length.Should().Be(2);
        }