To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.
I added a LayoutClickListener to a HorizontalLayout. This works fine. Now I want to create a JUnit test to ensure that things happens correctly with clicking on this HorizontalLayout. So the question is: How can I perform a LayoutClick??
For example for a Button it's easy: Button testButton = new Button("Test"); testButton.click();