use of eu.bcvsolutions.idm.acc.entity.TestContractResource in project CzechIdMng by bcvsolutions.
the class DefaultUniformPasswordManagerIntegrationTest method createContract.
private TestContractResource createContract(String code, String owner, String leader, String main, String workposition, String state, String disabled, String positions) {
TestContractResource contract = new TestContractResource();
contract.setId(code);
contract.setName(code);
contract.setOwner(owner);
contract.setState(state);
contract.setDisabled(disabled);
contract.setLeader(leader);
contract.setMain(main);
contract.setWorkposition(workposition);
contract.setDescription(code);
contract.setPositions(positions);
return contract;
}
Aggregations