### Question:
FoundationOrbitSlider extends OrbitSliderBase { public FoundationOrbitSlider(String id, IModel<List<OrbitSliderItem>> itemsModel) { super(id, itemsModel); } FoundationOrbitSlider(String id, IModel<List<OrbitSliderItem>> itemsModel);   }### Answer:
@Test public void testFoundationOrbitSlider() { WicketTester tester = new WicketTester(); List<OrbitSliderItem> items = new ArrayList<>(); items.add(new OrbitSliderItem("1", new PackageResourceReference(this.getClass(), "andromeda-orbit.jpg"), "Caption 1")); items.add(new OrbitSliderItem("2", new PackageResourceReference(this.getClass(), "launch-orbit.jpg"), "Caption 2")); items.add(new OrbitSliderItem("3", new PackageResourceReference(this.getClass(), "satelite-orbit.jpg"), "Caption 3")); FoundationOrbitSlider orbitSlider = new FoundationOrbitSlider("foobar", new ListModel<>(items)); tester.startComponentInPage(orbitSlider); tester.debugComponentTrees(); tester.dumpPage(); assertTrue(tester.getTagByWicketId("container").hasAttribute("data-orbit")); assertEquals(3, tester.getTagsByWicketId("img").size()); assertEquals(3, tester.getTagsByWicketId("captionContainer").size()); assertEquals(3, tester.getTagsByWicketId("caption").size()); }