use of org.eclipse.che.api.machine.shared.dto.execagent.event.ProcessStdErrEventDto in project che by eclipse.
the class TestServiceClientTest method processStdErr.
private ProcessStdErrEventDto processStdErr(final String text) {
ProcessStdErrEventDto event = mock(ProcessStdErrEventDto.class);
when(event.getText()).thenReturn(text);
when(event.toString()).thenReturn("StdErr - " + text);
return event;
}
Aggregations