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