@Test
public void configuresAfterburnerModule() {

    // given
    JacksonAfterburnerModuleConfigurer configurer = new JacksonAfterburnerModuleConfigurer();
    ObjectMapper objectMapper = spy(new ObjectMapper());
    // when
    configurer.configure(objectMapper);
    // then
    ArgumentCaptor<AfterburnerModule> captor = ArgumentCaptor.forClass(AfterburnerModule.class);
    verify(objectMapper).registerModule(captor.capture());
    assertEquals(AfterburnerModule.class, captor.getValue().getClass());
}