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