this.testSpecificationFactory = testSpecificationFactory;
}
public TestResult execute(final JUnitTest test)
{
final TestSpecification testSpecification = testSpecificationFactory.create(test);
try
{
socketConnection.writeObject(RemoteTestRunnerCommand.RUN_TEST);
socketConnection.writeObject(testSpecification);