@Before
 public void beforeTest() throws ManipulationException {
   Properties user = new Properties();
   user.setProperty(VersioningState.VERSION_SUFFIX_SYSPROP, "redhat-5");
   final VersioningState vs = new VersioningState(user);
   session.setState(vs);
   if (strictIgnoreSuffix) {
     user.setProperty(DependencyState.STRICT_ALIGNMENT_IGNORE_SUFFIX, "true");
   }
   final DependencyState ds = new DependencyState(user);
   session.setState(ds);
 }
 /**
  * Initialize the {@link GroovyState} state holder in the {@link ManipulationSession}. This state
  * holder detects version-change configuration from the Maven user properties (-D properties from
  * the CLI) and makes it available for later invocations of {@link GroovyManipulator#scan(List,
  * ManipulationSession)} and the apply* methods.
  */
 @Override
 public void init(final ManipulationSession session) {
   final Properties userProps = session.getUserProperties();
   session.setState(new GroovyState(userProps));
 }
 /**
  * Sets the mode based on user properties and defaults.
  *
  * @see ProjectVersionEnforcingState
  */
 @Override
 public void init(final ManipulationSession session) {
   session.setState(new ProjectVersionEnforcingState(session.getUserProperties()));
 }
 @Override
 public void init(final ManipulationSession session) throws ManipulationException {
   session.setState(new ProjectSourcesInjectingState(session.getUserProperties()));
 }