### Question:
Xs2aAuthenticationObjectToCmsScaMethodMapper { @NotNull public List<CmsScaMethod> mapToCmsScaMethods(@NotNull List<AuthenticationObject> authenticationObjects) { return authenticationObjects.stream() .map(this::mapToCmsScaMethod) .collect(Collectors.toList()); }  @NotNull List<CmsScaMethod> mapToCmsScaMethods(@NotNull List<AuthenticationObject> authenticationObjects); @NotNull CmsScaMethod mapToCmsScaMethod(@NotNull AuthenticationObject authenticationObject);  }### Answer:
@Test void mapToCmsScaMethods() { List<CmsScaMethod> actual = mapper.mapToCmsScaMethods(Collections.singletonList(authenticationObject)); assertEquals(1, actual.size()); assertEquals(cmsScaMethod, actual.get(0)); }