void () { MyInspection inspection = new MyInspection(); JComponent component = render(inspection); var separator = UIUtil.findComponentOfType(component, SeparatorComponent.class); assertNotNull(separator); }