### Question:
ConvertContainerToAnother { @SuppressWarnings("rawtypes") public static List convertToList() { UnifiedSet<String> cars = new UnifiedSet<>(); cars.add("Toyota"); cars.add("Mercedes"); cars.add("Volkswagen"); return cars.toList(); }  @SuppressWarnings("rawtypes") static List convertToList();  }### Answer:
@SuppressWarnings({ "unchecked", "rawtypes" }) @Test public void whenConvertContainerToAnother_thenCorrect() { MutableList<String> cars = (MutableList) ConvertContainerToAnother.convertToList(); Assertions.assertThat(cars).containsExactlyElementsOf(FastList.newListWith("Volkswagen", "Toyota", "Mercedes")); }