@Test( expected = EnforcerRuleException.class )
public void shouldThrowExceptionIfDistributionManagementIsDefinedWithRepositorySnapshotRepositorySite()
    throws Exception
{

    BanDistributionManagement rule =
        setupProjectWithDistributionManagement( new DeploymentRepository(), new DeploymentRepository(),
                                                new Site() );
    rule.execute( helper );
    // intentionally no assert cause we expect an exception.
}