//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test(dataProvider = "parseGood") public void test_parse_String_good_withP(String input, Tenor expected) public virtual void test_parse_String_good_withP(string input, Tenor expected) { assertEquals(Tenor.parse("P" + input), expected); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test(dataProvider = "parseBad", expectedExceptions = IllegalArgumentException.class) public void test_parse_String_bad(String input) public virtual void test_parse_String_bad(string input) { Tenor.parse(input); }
//------------------------------------------------------------------------- public virtual void test_parse_String_roundTrip() { assertEquals(Tenor.parse(TENOR_10M.ToString()), TENOR_10M); }