From d8dbed3e10b25782c24dae023488558f1d6ddc42 Mon Sep 17 00:00:00 2001 From: Valentin Spiroski Date: Fri, 9 Feb 2024 22:28:02 +0100 Subject: [PATCH] test_testEmojiPickerConstructor --- src/test/java/TestEmojiPicker.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/test/java/TestEmojiPicker.java diff --git a/src/test/java/TestEmojiPicker.java b/src/test/java/TestEmojiPicker.java new file mode 100644 index 0000000..19b6128 --- /dev/null +++ b/src/test/java/TestEmojiPicker.java @@ -0,0 +1,15 @@ +import org.junit.jupiter.api.Test; +import javax.swing.*; +import java.awt.*; + +import static org.junit.jupiter.api.Assertions.*; + +public class TestEmojiPicker { + + @Test + public void testEmojiPickerConstructor() { + JTextField textField = new JTextField(); + EmojiPicker emojiPicker = new EmojiPicker(textField); + assertNotNull(emojiPicker); + } +} \ No newline at end of file