### Question:
WebHookPayloadManager { public List<WebHookPayload> getTemplatedFormats() { List<WebHookPayload> templatedFormats = new ArrayList<>(); for (WebHookPayload payload : orderedFormatCollection) { if (payload.getTemplateEngineType().isTemplated()) { templatedFormats.add(payload); } } return templatedFormats; } WebHookPayloadManager(SBuildServer server); void registerPayloadFormat(WebHookPayload payloadFormat); WebHookPayload getFormat(String formatShortname); Boolean isRegisteredFormat(String format); List<WebHookPayload> getRegisteredFormats(); List<WebHookPayload> getTemplatedFormats(); Collection<WebHookPayload> getRegisteredFormatsAsCollection(); SBuildServer getServer();  }### Answer:
@Test public void testGetTemplatedFormats() { assertEquals(3, manager.getRegisteredFormats().size()); assertEquals(3, manager.getRegisteredFormatsAsCollection().size()); assertEquals(2, manager.getTemplatedFormats().size()); }