Add an article and publish it in the future or past (but active in the workflow)
The article will be in the sitemap, but it should not
Code is in:
src/Bundle/SitemapBundle/Controller/NewsController.php
src/Bundle/SitemapBundle/Controller/DefaultController.php
There has to be a check on publishTime.startDate which should not be published in the future. See the comment from Marijn