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