    @Test
    private static <T> int getPositionInList(T[] list, T element)
    {

        for(int i = 0; i < list.length; i++)
            if(list[i].equals(element))
                return i;
        return -1;
    }