setTargetComponent(housingB);
testMenu.fireMenuSelected();
Assert.assertEquals(testMenu.getMenuComponentCount(), 6);
JMenuItem menuItem = (JMenuItem) testMenu.getMenuComponent(1);
RadioAction radioActionThis = (RadioAction) menuItem.getAction();
Assert.assertNotNull(radioActionThis);
Assert.assertTrue(radioActionThis.isEnabled());
Assert.assertFalse(radioActionThis.isSelected());
menuItem = (JMenuItem) testMenu.getMenuComponent(2);
RadioAction radioActionThat = (RadioAction) menuItem.getAction();
Assert.assertNotNull(radioActionThat);
Assert.assertTrue(radioActionThat.isEnabled());
Assert.assertFalse(radioActionThat.isSelected());
radioActionThat.actionPerformed(new ActionEvent(testMenu, 0, null));
testMenu.fireMenuDeselected();
resetTargetComponent(housingB);
}