@Test
public void mixedParams() throws Throwable {

    prepareTest();
    when(point.getArgs()).thenReturn(new Object[]{Duty.newBuilder().setName("abc").setValue(5).build(), Integer.valueOf(2010)});
    when(methodSignature.getName()).thenReturn("searchWithParams");
    when(methodSignature.getParameterNames()).thenReturn(new String[]{"duty", "number"});
    when(methodSignature.getParameterTypes()).thenReturn(new Class[]{Duty.class, Integer.TYPE});
    logbackVerifier.expectMessage(INFO, "[JobOffer] Search with params [number: 2010].");
    logbackVerifier.expectMessage(INFO, "[JobOffer] Details: [duty: Duty(name=abc, value=5, cachedHashCode=2987940)].");
    loggingAspect.around(point, apiController);
}