Package org.kuali.rice.coreservice.framework.parameter

Examples of org.kuali.rice.coreservice.framework.parameter.ParameterService


  /**
   * @throws java.lang.Exception
   */
  @Before
  public void setUp() throws Exception {
     ParameterService paramService = mock(ParameterService.class);
     String fieldMapping = "principals.active.Y=mlaw";
     when(paramService.getParameterValueAsString("KR-SYS", "Config", "KIM_TO_LDAP_FIELD_MAPPINGS")).thenReturn(fieldMapping);
     ldapDao.setParameterService(paramService);
     ((PrincipalMapper)ldapDao.getContextMappers().get("Principal")).setParameterService(paramService);
  }
View Full Code Here


    /*IdentityService idSvc = mock(IdentityService.class);
    when(idSvc.getEntity(entityId)).thenReturn(entity);*/
    final String principalName = "marto";
    when(entityInfoSvc.getPrincipalName(any(EntityContract.class))).thenReturn(principalName);
   
    ParameterService parameterService = mock(ParameterService.class);
    when(parameterService.getParameterValueAsString(
        any(String.class), any(String.class), any(String.class))).thenReturn(sendingEmail);
    successHandler.setParameterService(parameterService);
    String expectedActivationMsg = firstName + ", an activation email has been sent to '" + emailFromOpenId +
        "' from address '" + sendingEmail + "'. If none comes to your inbox or spam folder after a few minutes, " +
            "please contact support";
View Full Code Here

TOP

Related Classes of org.kuali.rice.coreservice.framework.parameter.ParameterService

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.