summaryrefslogtreecommitdiffstats
path: root/library/Eventdb/Test/PseudoService.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/Eventdb/Test/PseudoService.php')
-rw-r--r--library/Eventdb/Test/PseudoService.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/library/Eventdb/Test/PseudoService.php b/library/Eventdb/Test/PseudoService.php
new file mode 100644
index 0000000..737a8ac
--- /dev/null
+++ b/library/Eventdb/Test/PseudoService.php
@@ -0,0 +1,16 @@
+<?php
+
+namespace Icinga\Module\Eventdb\Test;
+
+use Icinga\Module\Monitoring\Object\Service;
+
+class PseudoService extends Service
+{
+ public function provideCustomVars($vars)
+ {
+ $this->properties = new \stdClass;
+ $this->serviceVariables = $this->customvars = $vars;
+ $this->hostVariables = array();
+ return $this;
+ }
+}