### Question:
TeamHelper { public static int getTeamNumber(@Nullable String key) { if (key == null) return -1; return Integer.parseInt(key.substring(3)); } private  TeamHelper(); static boolean validateTeamKey(@Nullable String key); static boolean validateMultiTeamKey(@Nullable String key); static String baseTeamKey(@Nullable String teamKey); static int getTeamNumber(@Nullable String key);  }### Answer:
@Test public void testGetTeamNumber() { assertEquals(-1, TeamHelper.getTeamNumber(null)); assertEquals(1124, TeamHelper.getTeamNumber("frc1124")); assertEquals(254, TeamHelper.getTeamNumber("frc254")); }