use of org.apache.plc4x.java.simulated.field.SimulatedField in project plc4x by apache.
the class SimulatedDeviceTest method random.
@Test
public void random() {
SimulatedDevice device = new SimulatedDevice("foobar");
SimulatedField field = SimulatedField.of("RANDOM/foo:Integer");
Optional<PlcValue> value = device.get(field);
assertTrue(value.isPresent());
}
Aggregations