public void GetAllTest() { var array = EnumHelpers.GetAll <MyEnum>(); Assert.AreEqual(array[0], MyEnum.a); Assert.AreEqual(array[1], MyEnum.b); Assert.AreEqual(array[2], MyEnum.c); }