@Test void getPropertiesStringCorrectSignature() { this.scriptService.getProperties("xwiki:XWiki.Admin"); verify(this.userPropertiesResolver, never()).resolve(eq(CurrentUserReference.INSTANCE), ArgumentMatchers.<String>any()); verify(this.userReferenceResolver).resolve("xwiki:XWiki.Admin"); }
@Unstable public UserProperties getProperties(UserReference userReference, Object... parameters) { return this.userPropertiesResolver.resolve(userReference, parameters); }
UserScriptService implements ScriptService { @Unstable public UserProperties getProperties(UserReference userReference, Object... parameters) { return this.userPropertiesResolver.resolve(userReference, parameters); } }
UserScriptService implements ScriptService { @Unstable public UserProperties getProperties(UserReference userReference, Object... parameters) { return this.userPropertiesResolver.resolve(userReference, parameters); }  }
UserScriptService implements ScriptService { @Unstable public UserProperties getProperties(UserReference userReference, Object... parameters) { return this.userPropertiesResolver.resolve(userReference, parameters); }  @SuppressWarnings("unchecked") S get(String serviceName); @Unstable UserProperties getProperties(UserReference userReference, Object... parameters); @Unstable UserProperties getProperties(String userReference, Object... parameters); @Unstable UserProperties getProperties(Object... parameters); @Unstable UserProperties getProperties(); @Unstable UserProperties getAllProperties(UserReference userReference, Object... parameters); @Unstable UserProperties getAllProperties(Object... parameters); @Unstable UserProperties getAllProperties(); @Unstable UserReference getGuestUserReference(); @Unstable UserReference getSuperAdminUserReference(); @Unstable UserReference getCurrentUserReference(); @Unstable boolean exists(UserReference userReference); }
UserScriptService implements ScriptService { @Unstable public UserProperties getProperties(UserReference userReference, Object... parameters) { return this.userPropertiesResolver.resolve(userReference, parameters); }  @SuppressWarnings("unchecked") S get(String serviceName); @Unstable UserProperties getProperties(UserReference userReference, Object... parameters); @Unstable UserProperties getProperties(String userReference, Object... parameters); @Unstable UserProperties getProperties(Object... parameters); @Unstable UserProperties getProperties(); @Unstable UserProperties getAllProperties(UserReference userReference, Object... parameters); @Unstable UserProperties getAllProperties(Object... parameters); @Unstable UserProperties getAllProperties(); @Unstable UserReference getGuestUserReference(); @Unstable UserReference getSuperAdminUserReference(); @Unstable UserReference getCurrentUserReference(); @Unstable boolean exists(UserReference userReference); static final String ROLEHINT; }