Search in sources :

Example 1 with ApprovedTSAType

use of ee.ria.xroad.common.conf.globalconf.sharedparameters.v2.ApprovedTSAType in project X-Road by nordic-institute.

the class TestUtils method createApprovedTsaType.

/**
 * Creates a new ApprovedTSAType with the given url and name
 *
 * @param url
 * @param name
 * @return
 */
public static ApprovedTSAType createApprovedTsaType(String url, String name) {
    ApprovedTSAType approvedTSAType = new ApprovedTSAType();
    approvedTSAType.setUrl(url);
    approvedTSAType.setName(name);
    return approvedTSAType;
}
Also used : ApprovedTSAType(ee.ria.xroad.common.conf.globalconf.sharedparameters.v2.ApprovedTSAType)

Aggregations

ApprovedTSAType (ee.ria.xroad.common.conf.globalconf.sharedparameters.v2.ApprovedTSAType)1