checkTestButtonState($this->getCommonTestButtonStateData(), 'LLD for Test Button check', 'Discovery rule', ' created', true, true, self::HOST_ID, 'host_discovery'); } /** * Check Test LLD Button enabled/disabled state depending on item type for Template. */ public function testFormTestLowLevelDiscovery_CheckButtonStateTemplate() { $this->checkTestButtonState($this->getCommonTestButtonStateData(), 'LLD for Test Button check', 'Discovery rule', ' created', false, false, self::TEMPLATE_ID, 'host_discovery'); } /** * Check Test LLD form for Host. * * @dataProvider getCommonTestItemData * * @depends testFormTestLowLevelDiscovery_CheckButtonStateHost */ public function testFormTestLowLevelDiscovery_TestLLDHost($data) { $this->checkTestItem($data, true, self::HOST_ID, 'host_discovery', true); } /** * Check Test LLD form for Template. * * @dataProvider getCommonTestItemData * * @depends testFormTestLowLevelDiscovery_CheckButtonStateTemplate */ public function testFormTestLowLevelDiscovery_TestLLDTemplate($data) { $this->checkTestItem($data, false, self::TEMPLATE_ID, 'host_discovery', true); } }