fitgoodies-core/src/main/java/de/cologneintelligence/fitgoodies/ActionFixture.java
protected final void transformAndEnter() throws Exception {
        FitCell cell = row.insert(0);
        cell.setFitValue("enter");

		Object oldActor = actor;
		actor = this;
		enter();
		actor = oldActor;

        row.remove(0);
	}
protected final void transformAndEnter() throws Exception {
        FitCell cell = row.insert(0);
        cell.setFitValue("enter");

		Object oldActor = actor;
		actor = this;
		enter();
		actor = oldActor;

        row.remove(0);
	}
protected final void transformAndEnter ( ) throws Exception { FitCell cell = row . insert ( 0 ) ; cell . setFitValue ( "enter" ) ; Object oldActor = actor ; actor = this ; enter ( ) ; actor = oldActor ; row . remove ( 0 ) ; }
Transforms the selected row into an &quot;enter&quot; command and
reinterprets it.
<p>
Example:
Row content: {@code setEncoding | utf-8} <br>
Code in the fixture:
{@code
public void setEncoding() throws Exception {
transformAndEnter();
}
}
<p>
{@code
public void setEncoding(String encoding) {
// do stuff with encoding here
}
}

@throws Exception should be propagated to fit.
Transforms the selected row into an &quot ; enter&quot ; command and reinterprets it . <p > Example : Row content : { @code setEncoding | utf - 8 } <br > Code in the fixture : { @code public void setEncoding () throws Exception { transformAndEnter () ; } } <p > { @code public void setEncoding ( String encoding ) { // do stuff with encoding here } }