WanQueueFullBehavior getWanQueueFullBehaviour(int id) {
        switch (id) {
            case 0:
                return WanQueueFullBehavior.DISCARD_AFTER_MUTATION;
            case 1:
                return WanQueueFullBehavior.THROW_EXCEPTION;
            case 2:
                return WanQueueFullBehavior.THROW_EXCEPTION_ONLY_IF_REPLICATION_ACTIVE;
            default:
                return WanBatchPublisherConfig.DEFAULT_QUEUE_FULL_BEHAVIOUR;
        }
    }
@Test
    public void testGetWanQueueFullBehaviour() {
        assertEquals(WanQueueFullBehavior.DISCARD_AFTER_MUTATION, transformer.getWanQueueFullBehaviour(0));
        assertEquals(WanQueueFullBehavior.THROW_EXCEPTION, transformer.getWanQueueFullBehaviour(1));
        assertEquals(WanQueueFullBehavior.THROW_EXCEPTION_ONLY_IF_REPLICATION_ACTIVE, transformer.getWanQueueFullBehaviour(2));
        assertEquals(WanBatchPublisherConfig.DEFAULT_QUEUE_FULL_BEHAVIOUR, transformer.getWanQueueFullBehaviour(3));
    }