use of com.yahoo.athenz.zms.DomainList in project athenz by yahoo.
the class MockZMSFileChangeLogStore method setDomainList.
public void setDomainList(List<String> domains) {
if (domains != null) {
domList = new DomainList();
domList.setNames(domains);
when(zms.getDomainList()).thenReturn(domList);
} else {
when(zms.getDomainList()).thenThrow(new ZMSClientException(500, "Invalid request"));
}
}
Aggregations