Just added Lambda Powertools Java to my project and I have annotated my handler method with @Tracing.
However now when I run my basic unit tests I get an error "SegmentNotFound". I think I may be able to create a segment in a test like AWSXRay.beginSegment("handleRequest") but not sure that is what I should be doing.
TIA