public void TestConvertToIEnumerable()
{
CollectionAssert.AreEquivalent(
new object[] { },
DynamicUtils.ConvertToIEnumerable(null)
);
CollectionAssert.AreEquivalent(
new object[] { "1", 2, 3 },
DynamicUtils.ConvertToIEnumerable(new Dictionary<string, object> { { "Test1", "1" }, { "Test2", 2 }, { "Test3", 3 } })
);
CollectionAssert.AreEquivalent(
new object[] { "1", 2, 3 },
DynamicUtils.ConvertToIEnumerable(new List<object> { "1", 2, 3 })
);
}