lsd-consulting / lsd-distributed-interceptors

A set of interceptors gathering information from distributed services for the LSD library.

Home Page:https://github.com/integreety/lsd-distributed-interceptor-library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix assertions in the e2e test

lukasz-gryzbon opened this issue · comments

This requires either reading the generated HTML file or use something like StringWriter to retrieve interactions from LsdContext.

Added an argument captor and based the asserts on the captured values.

This required mocking a static method which in turn required downgrading of Mockito as it had compatibility issues with the ByteBuddy library.