TransferableUtils.resolveConfiguration(getMethod(AnnotatedTestServiceImpl.class, "dtoToEntityAndBackToDtoByFilterExact"), AnnotatedTestServiceImpl.class);
assertEquals(map.size(), 2);
final AdviceConfig before = map.get(Occurrence.BEFORE_METHOD_INVOCATION);
assertEquals(before.getDirection(), Direction.DTO_TO_ENTITY);
assertEquals(before.getOccurrence(), Occurrence.BEFORE_METHOD_INVOCATION);
assertEquals(before.getDtoSupportMode(), AdviceConfig.DTOSupportMode.DTO_BY_FILTER_TO_ENTITY);
assertEquals(before.getDtoKey(), "");
assertEquals(before.getEntityKey(), "");
assertEquals(before.getDtoFilterKey(), "annFilterKey");
assertEquals(before.getDtoSourceIndex(), 0);
assertEquals(before.getDtoTargetIndex(), NO_INDEX);
assertEquals(before.getEntitySourceIndex(), NO_INDEX);
assertEquals(before.getEntityTargetIndex(), 1);
assertEquals(before.getContext(), "dtoToEntityAndBackToDtoByFilterExact");
final AdviceConfig after = map.get(Occurrence.AFTER_METHOD_INVOCATION);
assertEquals(after.getDirection(), Direction.ENTITY_TO_DTO);
assertEquals(after.getOccurrence(), Occurrence.AFTER_METHOD_INVOCATION);
assertEquals(after.getDtoSupportMode(), AdviceConfig.DTOSupportMode.ENTITY_TO_DTO_KEY_BY_FILTER);
assertEquals(after.getDtoKey(), "annDtoKey");
assertEquals(after.getEntityKey(), "");
assertEquals(after.getDtoFilterKey(), "annFilterKey");
assertEquals(after.getDtoSourceIndex(), NO_INDEX);
assertEquals(after.getDtoTargetIndex(), RETURN_INDEX);
assertEquals(after.getEntitySourceIndex(), 1);
assertEquals(after.getEntityTargetIndex(), NO_INDEX);
assertEquals(after.getContext(), "dtoToEntityAndBackToDtoByFilterExact");
}