//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test(dataProvider = "parseBad") public void test_parse_String_bad(String input) public virtual void test_parse_String_bad(string input) { assertThrowsIllegalArg(() => CurrencyAmount.parse(input)); }
//------------------------------------------------------------------------- //JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void test_parse_String_roundTrip() public virtual void test_parse_String_roundTrip() { assertEquals(CurrencyAmount.parse(CCY_AMOUNT.ToString()), CCY_AMOUNT); }
//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(String input, Currency currency, double amount) public virtual void test_parse_String_good(string input, Currency currency, double amount) { assertEquals(CurrencyAmount.parse(input), CurrencyAmount.of(currency, amount)); }