UserDataLobNormalizer extends FieldNormalizer<UserData> { @Override UserData setNormalizedFieldValue(UserData fieldContainingObject, String normalizedValue) { return fieldContainingObject.setLob(normalizedValue); } protected  UserDataLobNormalizer(Set<RootTermDistanceCalculator> lobDistanceCalculators);   }
@Test public void setNormalizedLobSetsLobAndReturnsUpdatedUserData() { var normalizedLob = "LOB Test 2"; given(userDataMock.setLob(normalizedLob)).willReturn(userDataMock); var actualUserData = userDataLobNormalizer.setNormalizedFieldValue(userDataMock, normalizedLob); assertThat(actualUserData).isEqualTo(userDataMock); }