### Question:
WebHookPayloadManager { public Boolean isRegisteredFormat(String format){ return formats.containsKey(format.toLowerCase()); } 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 testIsRegisteredFormat() { assertEquals(true, manager.isRegisteredFormat("one")); assertEquals(false, manager.isRegisteredFormat("none")); }