### Question:
JpaUserRepository implements UserRepository { @Override public List<User> getAllByAddedWidget(String widgetId) { TypedQuery<JpaUser> query = manager.createNamedQuery(JpaUser.USER_GET_ALL_FOR_ADDED_WIDGET, JpaUser.class); query.setParameter(JpaUser.PARAM_WIDGET_ID, Long.parseLong(widgetId)); return CollectionUtils.<User>toBaseTypedList(query.getResultList()); }  @Override User getByUsername(String username); @Override User getByUserEmail(String userEmail); @Override User getByOpenId(String openId); @Override List<User> getAll(); @Override List<User> getLimitedList(int offset, int pageSize); @Override int getCountAll(); @Override List<User> findByUsernameOrEmail(String searchTerm, int offset, int pageSize); @Override int getCountByUsernameOrEmail(String searchTerm); @Override List<User> getAllByAddedWidget(String widgetId); @Override User getByForgotPasswordHash(String hash); @Override Class<? extends User> getType(); @Override User get(String id); @Override User save(User item); @Override void delete(User item);  }### Answer:
@Test @Ignore("TODO: FIX BEFORE RAVE-729") public void getAllByAddedWidget() { String searchTerm = "Doe"; List<User> users = repository.getAllByAddedWidget(VALID_WIDGET_ID.toString()); assertThat(users.isEmpty(), is(false)); String previousFamilyName = ""; for (User user : users) { String familyName = user.getFamilyName(); assertThat(previousFamilyName.compareTo(familyName) <= 0 , is(true)); previousFamilyName = familyName; } }