Template screen item
templatescreenitem.get: 检索模板屏幕项目
TemplateScreenItemGetTest
package cn.com.yeexun.testzabbix.zabbix4j.example.templatescreenitem;
import static org.junit.Assert.assertNotNull;
import org.junit.Test;
import cn.com.yeexun.testzabbix.zabbix4j.common.ZabbixApiTestBase;
import com.zabbix4j.templatescreenitem.TemplateScreenItemGetRequest;
import com.zabbix4j.templatescreenitem.TemplateScreenItemGetResponse;
/**
* @author Suguru Yajima
*/
public class TemplateScreenItemGetTest extends ZabbixApiTestBase {
public TemplateScreenItemGetTest() {
super();
}
@Test
public void testGet() throws Exception {
TemplateScreenItemGetRequest request = new TemplateScreenItemGetRequest();
TemplateScreenItemGetResponse response = zabbixApi.templateScreenItem().get(request);
assertNotNull(response);
logger.debug(getGson().toJson(response));
}
}