@ -90,4 +90,11 @@ public class TestEmojiPicker {
assertEquals(expectedText, textField.getText(), "Failed for emoji: " + button.getText()); // Check if emoji is appended to the text field
}
@Test
public void testEmojiPickerNotNull() {
JTextField textField = new JTextField();
EmojiPicker emojiPicker = new EmojiPicker(textField);
assertNotNull(emojiPicker);