package kafka import ( "testing" ) func TestAggDataHandler_HandleMessage(t *testing.T) { h := AggDataHandler{} aggDataMsg := ` {"date":"2024-09-19T09:39:59.999+0000","sensorId":106,"structId":1,"factorId":11,"aggTypeId":2006,"aggMethodId":3004,"agg":{"strain":-19.399999618530273},"changed":{"strain":-3}} ` h.HandleMessage(aggDataMsg) }