1 package unit.devices.tdk_lambda_power_supply;
5 import org.junit.After;
6 import org.junit.Before;
9 import java.io.IOException;
11 import static org.junit.Assert.assertEquals;
18 public static final int deviceAddress = 6;
19 public static final String errorMessage =
"E01";
23 public void setUp()
throws IOException {
27 private void setUpPowerSupply()
throws IOException {
31 this.communicatorForDevice.
clear();
35 public void cleanUpCommunicator(){
36 this.communicatorForDevice.
clear();
39 protected void assertCorrectMessage(String expectedMessage){
41 assertEquals(expectedMessage, writtenData);
void setInputStreamData(String dataForDeviceToRead)
String getOutputStreamData()