Andrez Segovia

Java (4)

Form Param Request Matching with WireMock

The following is an example of how to use the withFormParam method to customize the response of a stub based on the value of a from parameter.

Validate the arguments passed to a method

The Mockito framework has the ArgumentCaptor class that can be use to validate the arguments passed to a mocked method.

How To Use Apollo Kotlin in Java Projects

The article describes how to use Apollo Kotlin in Java projects.

The differences between List.of and Arrays.asList

This StackOverflow answer explains the different between List.of and Arrays.asList.