|
|
|
@ -124,7 +124,7 @@ class ProtoUtilsTest { |
|
|
|
|
|
|
|
@Test |
|
|
|
void protoFromEdgeSyncResponseSerialization() { |
|
|
|
FromEdgeSyncResponse msg = new FromEdgeSyncResponse(id, tenantId, edgeId, true, null); |
|
|
|
FromEdgeSyncResponse msg = new FromEdgeSyncResponse(id, tenantId, edgeId, true, "Error Msg"); |
|
|
|
assertThat(ProtoUtils.fromProto(ProtoUtils.toProto(msg))).as("deserialized").isEqualTo(msg); |
|
|
|
} |
|
|
|
|
|
|
|
|