public virtual void test_getFloatingRateName() { foreach (PriceIndex index in PriceIndex.extendedEnum().lookupAll().values()) { assertEquals(index.FloatingRateName, FloatingRateName.of(index.Name)); } }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test(dataProvider = "name") public void test_extendedEnum(PriceIndex convention, String name) public virtual void test_extendedEnum(PriceIndex convention, string name) { ImmutableMap <string, PriceIndex> map = PriceIndex.extendedEnum().lookupAll(); assertEquals(map.get(name), convention); }