public ConstructorArgumentsTracker(ISpecimenBuilder specimenBuilder, ConstructorInfo constructorInfo) { if (specimenBuilder == null) { throw new ArgumentNullException("specimenBuilder"); } if (constructorInfo == null) { throw new ArgumentNullException("constructorInfo"); } this.specimenBuilder = specimenBuilder; this.constructorInfo = constructorInfo; this.collector = new SpecimensUsedInConstructorCollector(); }