public void It_should_concatenate_the_list_of_strings_returned_by_the_enumerator() { Assert.AreEqual("123j", GetLambda <object>()(new List <object> { 1, "2", 3, "j" })); }
public void It_should_map_properly_from_different_source_types() { Assert.AreEqual("1234", GetLambda <int>()(new List <int> { 1, 2, 3, 4 })); Assert.AreEqual("hello, world!", GetLambda <string>()(new List <string> { "hello", ", ", "world", "!", "" })); }
public void It_should_return_null_if_the_object_is_null() { Assert.IsNull(GetLambda <object>()(null)); }