public function testDeleteVersionThrowsBadStateException()
{
/* BEGIN: Use Case */
$contentService = $this->repository->getContentService();
$versionInfo = $contentService->loadVersionInfoById(4);
// Throws an exception because version is published
$contentService->deleteVersion($versionInfo);
/* END: Use Case */
}