UserDataLobNormalizer extends FieldNormalizer<UserData> { @Override String getFieldValue(UserData fieldContainingObject) { return fieldContainingObject.getLob(); } protected  UserDataLobNormalizer(Set<RootTermDistanceCalculator> lobDistanceCalculators);   }
@Test public void getLobOfReturnsLobOfUserData() { var expectedLob = "LOB Test 1"; given(userDataMock.getLob()).willReturn(expectedLob); var actualLob = userDataLobNormalizer.getFieldValue(userDataMock); assertThat(actualLob).isEqualTo(expectedLob); }