@Test public void shouldReadTestProperty() { assertThat(testSubject.getTestProperty()).isEqualTo("mockedTestProperty"); }
public String getTestProperty() { return userManagementProperties.getTestProperty(); }
UserService { public String getTestProperty() { return userManagementProperties.getTestProperty(); } }
UserService { public String getTestProperty() { return userManagementProperties.getTestProperty(); } @Autowired  UserService(UserRepository userRepository, UserManagementProperties userManagementProperties); }
UserService { public String getTestProperty() { return userManagementProperties.getTestProperty(); } @Autowired  UserService(UserRepository userRepository, UserManagementProperties userManagementProperties); List<User> list(); User create(String name, String currency); User get(long id); String getTestProperty(); }
UserService { public String getTestProperty() { return userManagementProperties.getTestProperty(); } @Autowired  UserService(UserRepository userRepository, UserManagementProperties userManagementProperties); List<User> list(); User create(String name, String currency); User get(long id); String getTestProperty();  }