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;
17 public static final String deviceName =
"Mockup Power Supply - Unit " +
19 public static final int deviceAddress = 6;
20 public static final String errorMessage =
"E01";
24 public void setUp()
throws IOException {
28 private void setUpPowerSupply()
throws IOException {
32 this.communicatorForDevice.
clear();
36 public void cleanUpCommunicator(){
37 this.communicatorForDevice.
clear();
40 protected void assertCorrectMessage(String expectedMessage){
42 assertEquals(expectedMessage, writtenData);
void setInputStreamData(String dataForDeviceToRead)
String getOutputStreamData()