### Question:
CheckBoxStateChangedEvent implements NiftyEvent { public boolean isChecked() { return checked; } CheckBoxStateChangedEvent(@Nonnull final CheckBox checkbox, final boolean checkedState); @Nonnull CheckBox getCheckBox(); boolean isChecked();  }### Answer:
@Test public void testChecked() { CheckBoxStateChangedEvent event = new CheckBoxStateChangedEvent(null, true); assertTrue(event.isChecked()); }
@Test public void testUnchecked() { CheckBoxStateChangedEvent event = new CheckBoxStateChangedEvent(null, false); assertFalse(event.isChecked()); }