public ArgumentValueFormatterTests()
        {
            this.registeredTypeFormatters = new List <IArgumentValueFormatter>();

            this.formatter = new ArgumentValueFormatter(this.registeredTypeFormatters);
        }
示例#2
0
 public DefaultFakeObjectCallFormatterTests()
 {
     this.argumentFormatter   = A.Fake <ArgumentValueFormatter>();
     this.fakeManagerAccessor = A.Fake <IFakeManagerAccessor>();
     this.formatter           = new DefaultFakeObjectCallFormatter(this.argumentFormatter, this.fakeManagerAccessor);
 }
 public DefaultFakeObjectCallFormatter(ArgumentValueFormatter argumentValueFormatter, IFakeManagerAccessor fakeManagerAccessor)
 {
     this.argumentValueFormatter = argumentValueFormatter;
     this.fakeManagerAccessor = fakeManagerAccessor;
 }
        public ArgumentValueFormatterTests()
        {
            this.registeredTypeFormatters = new List <IArgumentValueFormatter>();

            this.formatter = new ArgumentValueFormatter(this.registeredTypeFormatters, ServiceLocator.Resolve <StringBuilderOutputWriter.Factory>());
        }
        public void Setup()
        {
            this.registeredTypeFormatters = new List <IArgumentValueFormatter>();

            this.formatter = new ArgumentValueFormatter(this.registeredTypeFormatters);
        }