ProjectLobNormalizer extends FieldNormalizer<Project> { @Override Project setNormalizedFieldValue(Project fieldContainingObject, String normalizedValue) { return fieldContainingObject.setLob(normalizedValue); } protected  ProjectLobNormalizer(Set<RootTermDistanceCalculator> lobDistanceCalculators);   }
@Test public void setNormalizedLobSetsLobAndReturnsUpdatedProject() { var normalizedLob = "LOB Test 2"; given(projectMock.setLob(normalizedLob)).willReturn(projectMock); var updatedProject = projectLobNormalizer.setNormalizedFieldValue(projectMock, normalizedLob); assertThat(updatedProject).isEqualTo(projectMock); }