@Test
    public void testMoveCurserToEndOfTextField() {
        String text = "hello world";
        JTextField textField = new JTextField(text);

        assertEquals(0, textField.getCaretPosition());
        Components.moveCurserToEndOfTextField(textField);
        assertEquals(text.length(), textField.getCaretPosition());
    }