public class TestFacetNavResultWidgetAction extends ApsAdminPluginBaseTestCase {
public void testInitConfig_1() throws Throwable {
String result = this.executeConfigFacetNavResult("admin", "homepage", "1", "jpfacetnav_results");
assertEquals(Action.SUCCESS, result);
FacetNavResultWidgetAction action = (FacetNavResultWidgetAction) this.getAction();
Widget widget = action.getWidget();
assertNotNull(widget);
assertEquals(0, widget.getConfig().size());
List<SmallContentType> contentTypes = action.getContentTypes();
assertNotNull(contentTypes);
assertEquals(4, contentTypes.size());
}