public void DealWithIntArrayNullResponses()
        {
            var r = GenericPresentationHelpers.DisplayFunction(
                new Challenge <int[]>(new object[] { 1, "a" }, null),
                this.intAndString,
                typeof(int[]));

            r.Should().BeEquivalentTo("(1, \"a\") => null");
        }
        public void DealWithStringArrayResponses()
        {
            var r = GenericPresentationHelpers.DisplayFunction(
                new Challenge <string[]>(new object[] { 1, "a" }, new[] { "a", "b" }),
                this.intAndString,
                typeof(string[]));

            r.Should().BeEquivalentTo("(1, \"a\") => [\"a\", \"b\"]");
        }
        public void DealWithBasicExample()
        {
            var r = GenericPresentationHelpers.DisplayFunction(
                new Challenge <string>(new object[] { 1, "a" }, "hello"),
                this.intAndString,
                typeof(string));

            r.Should().BeEquivalentTo("(1, \"a\") => \"hello\"");
        }