### Question:
UserController { public List<User> getUsers() { return userRepository.findAll(); } UserController(PasswordEncoder passwordEncoder, UserRepository userRepository); @Transactional void deleteUser(String username); List<User> getUsers(); @Transactional User updateUser(String username, String password, Set<UserRole> roles); @Transactional void syncUser(User jpaUser); String getPassword(String userName); User findUser(String name); @Transactional void removeRolesForContext(String context); @Transactional void deleteAll();  }### Answer:
@Test public void getUsers() { assertEquals(1, testSubject.getUsers().size()); }