@Test public void timeIsValid_whenConsistsOnlyOfDigits() { assertThat(RobotTimeFormat.isValidRobotTimeArgument("0")).isTrue(); assertThat(RobotTimeFormat.isValidRobotTimeArgument("-1")).isTrue(); assertThat(RobotTimeFormat.isValidRobotTimeArgument("10")).isTrue(); assertThat(RobotTimeFormat.isValidRobotTimeArgument("123456789")).isTrue(); assertThat(RobotTimeFormat.isValidRobotTimeArgument("-123")).isTrue(); }
public static boolean isValidRobotTimeArgument(final String argument) { return isPlainNumber(argument) || isTimeString(argument) || isTimerString(argument); }
RobotTimeFormat { public static boolean isValidRobotTimeArgument(final String argument) { return isPlainNumber(argument) || isTimeString(argument) || isTimerString(argument); } }
RobotTimeFormat { public static boolean isValidRobotTimeArgument(final String argument) { return isPlainNumber(argument) || isTimeString(argument) || isTimerString(argument); }  }
RobotTimeFormat { public static boolean isValidRobotTimeArgument(final String argument) { return isPlainNumber(argument) || isTimeString(argument) || isTimerString(argument); }  static boolean isValidRobotTimeArgument(final String argument); }
RobotTimeFormat { public static boolean isValidRobotTimeArgument(final String argument) { return isPlainNumber(argument) || isTimeString(argument) || isTimerString(argument); }  static boolean isValidRobotTimeArgument(final String argument);  }