Publisher extends OnAppAd { public CustomObjects CustomObjects() { if (customObjects == null) { customObjects = new CustomObjects(this); } return customObjects; } Publisher(Tracker tracker); String getCampaignId(); String getCreation(); String getVariant(); String getFormat(); String getGeneralPlacement(); String getDetailedPlacement(); String getAdvertiserId(); String getUrl(); Publisher setCampaignId(String campaignId); Publisher setCreation(String creation); Publisher setVariant(String variant); Publisher setFormat(String format); Publisher setGeneralPlacement(String generalPlacement); Publisher setDetailedPlacement(String detailedPlacement); Publisher setAdvertiserId(String advertiserId); Publisher setUrl(String url); Publisher setAction(Action action); CustomObjects CustomObjects();  }
@Test public void CustomObjectsTest() { CustomObjects customObjects = publisher.CustomObjects(); Assert.assertNotNull(publisher.CustomObjects()); Assert.assertEquals(publisher.CustomObjects(), customObjects); }