Aspectacular.Test.CoreTests.MethodMetadataTest.TestValueFormatting C# (CSharp) Method

TestValueFormatting() private method

private TestValueFormatting ( ) : void
return void
        public void TestValueFormatting()
        {
            List<Tuple<int, string>> whatevs = new List<Tuple<int, string>>();
            whatevs.Add(new Tuple<int, string>(1, "One"));
            whatevs.Add(new Tuple<int, string>(2, "Two"));

            IEnumerable<Tuple<int, string>> bad = whatevs;

            //Type type = typeof(IEnumerable<Tuple<int, string>>);
            Type type = bad.GetType();

            string valuString = InterceptedMethodParamMetadata.FormatParamValue(type, whatevs, trueUi_FalseInternal: false);
            Assert.IsTrue(valuString.Contains("HASH"));
        }
MethodMetadataTest