@@ -0,0 +1,1114 @@
+package com.edgewonk.fxcomponents;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Aimport javafx.embed.swing.JFXPanel;%0Aimport javafx.scene.input.MouseButton;%0Aimport javafx.scene.input.MouseEvent;%0A%0Aimport static org.junit.Assert.assertFalse;%0Aimport static org.junit.Assert.assertTrue;%0A%0Apublic class RadioButtonExtTest %7B%0A  JFXPanel jfxPanel;%0A%0A  @Before%0A  public void init() %7B%0A    jfxPanel = new JFXPanel();%0A  %7D%0A%0A  @Test%0A  public void testSecondClickDeselectButton() %7B%0A    RadioButtonExt radioButtonExt = new RadioButtonExt();%0A    assertFalse(radioButtonExt.isSelected());%0A%0A    radioButtonExt.setSelected(true);%0A%0A    //first click%0A    radioButtonExt.fireEvent(new MouseEvent(MouseEvent.MOUSE_CLICKED, 0, 0, 0, 0, MouseButton.PRIMARY, 1, false, false, false, false, false, false, false, false, false, false, null));%0A    assertTrue(radioButtonExt.isSelected());%0A%0A    //second click%0A    radioButtonExt.fireEvent(new MouseEvent(MouseEvent.MOUSE_CLICKED, 0, 0, 0, 0, MouseButton.PRIMARY, 1, false, false, false, false, false, false, false, false, false, false, null));%0A    assertFalse(radioButtonExt.isSelected());%0A  %7D%0A%7D

add test