@Test
public void allSelected() {

    List<Object> values = asList("Italian", "Indian", "Chinese");
    List<Object> selectedValues = Arrays.asList("Italian", "Chinese", "Indian");
    assertEquals(asList(1L, 1L, 1L), new OneHotEncoding().oneHotEncoding(values, selectedValues));
}