diff --git a/src/test/java/TestEmojiPicker.java b/src/test/java/TestEmojiPicker.java index 59947c3..0ee459c 100644 --- a/src/test/java/TestEmojiPicker.java +++ b/src/test/java/TestEmojiPicker.java @@ -109,5 +109,13 @@ public class TestEmojiPicker { assertEquals(3, gridLayout.getColumns()); } + @Test + public void testEmojiPickerButtonCount1() { + JTextField textField = new JTextField(); + EmojiPicker emojiPicker = new EmojiPicker(textField); + Component[] components = emojiPicker.getComponents(); + assertEquals(12, components.length); + } + }