@Test @UseDataProvider("simpleStringData") public void isRomanNumber_simple_string_with_roman_number(String romanNumber) { assertTrue(RomanNumberConverter.isRomanNumber(romanNumber)); }
public static boolean isRomanNumber(String str) { return str.matches("(?:([MDCLXVI])(?!\\1{3,}))+"); }
RomanNumberConverter { public static boolean isRomanNumber(String str) { return str.matches("(?:([MDCLXVI])(?!\\1{3,}))+"); } }
RomanNumberConverter { public static boolean isRomanNumber(String str) { return str.matches("(?:([MDCLXVI])(?!\\1{3,}))+"); }  }
RomanNumberConverter { public static boolean isRomanNumber(String str) { return str.matches("(?:([MDCLXVI])(?!\\1{3,}))+"); }  static int decode(String roman); static boolean isRomanNumber(String str); static boolean isNotRomanNumber(String str); }
RomanNumberConverter { public static boolean isRomanNumber(String str) { return str.matches("(?:([MDCLXVI])(?!\\1{3,}))+"); }  static int decode(String roman); static boolean isRomanNumber(String str); static boolean isNotRomanNumber(String str);  }