Skip to content

Instantly share code, notes, and snippets.

View karuturi's full-sized avatar

Rajani K karuturi

  • Hyderabad, India
View GitHub Profile
@karuturi
karuturi / SAML2AuthManagerImplTest.java
Last active August 29, 2015 14:25
mocking configKey in unit tests
package org.apache.cloudstack.saml;
import com.cloud.user.DomainManager;
import com.cloud.user.dao.UserDao;
import org.apache.cloudstack.framework.config.ConfigKey;
import org.apache.cloudstack.framework.config.dao.ConfigurationDao;
import org.apache.cloudstack.framework.security.keystore.KeystoreDao;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;