use of de.fraunhofer.iosb.ilt.faaast.service.model.messagebus.event.error.ErrorEventMessage in project FAAAST-Service by FraunhoferIOSB.
the class MessageBusInternalTest method init.
@BeforeClass
public static void init() {
valueChangeMessage = new ValueChangeEventMessage();
PropertyValue propertyValue = new PropertyValue();
propertyValue.setValue(new IntValue(100));
valueChangeMessage.setOldValue(propertyValue);
propertyValue.setValue(new IntValue(123));
valueChangeMessage.setNewValue(propertyValue);
errorMessage = new ErrorEventMessage();
errorMessage.setElement(property1Reference);
errorMessage.setErrorLevel(ErrorLevel.Error);
errorMessage.setThrowingSource(MessageBusInternalTest.class);
}
Aggregations