@Test
public void testDefaultQueueingStrategy(){

    assertThat(QueueingStrategyFactory.buildQueueStrategy(null), instanceOf(DefaultQueueingStrategy.class));
    assertThat(QueueingStrategyFactory.buildQueueStrategy(buildHookConfig(null)), instanceOf(DefaultQueueingStrategy.class));
    assertThat(QueueingStrategyFactory.buildQueueStrategy(buildHookConfig(null).put("queueingStrategy", "not_a_jsonobject")),
            instanceOf(DefaultQueueingStrategy.class));
    assertThat(QueueingStrategyFactory.buildQueueStrategy(buildHookConfig(null).put("queueingStrategy", new JsonArray())),
            instanceOf(DefaultQueueingStrategy.class));
    assertThat(QueueingStrategyFactory.buildQueueStrategy(buildHookConfig(null).put("queueingStrategy", 123)),
            instanceOf(DefaultQueueingStrategy.class));
    assertThat(QueueingStrategyFactory.buildQueueStrategy(buildHookConfig(new JsonObject().put("type", "unknownType"))),
            instanceOf(DefaultQueueingStrategy.class));
}