public ReliableTopicConfig setTopicOverloadPolicy(TopicOverloadPolicy topicOverloadPolicy) {
        this.topicOverloadPolicy = checkNotNull(topicOverloadPolicy, "topicOverloadPolicy can't be null");
        return this;
    }
@Test
    public void setTopicOverloadPolicy() {
        ReliableTopicConfig config = new ReliableTopicConfig("foo");
        config.setTopicOverloadPolicy(DISCARD_NEWEST);

        assertSame(DISCARD_NEWEST, config.getTopicOverloadPolicy());
    }