public QueryCacheConfig setName(@Nonnull String name) {
        this.name = checkHasText(name, "name");
        return this;
    }
@Test(expected = IllegalArgumentException.class)
    public void testSetName_throwsException_whenNameNull() {
        QueryCacheConfig config = new QueryCacheConfig();
        config.setName(null);
    }