summaryrefslogtreecommitdiffstats
path: root/tests/LoggerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/LoggerTest.php')
-rw-r--r--tests/LoggerTest.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/LoggerTest.php b/tests/LoggerTest.php
new file mode 100644
index 0000000..ebe65d8
--- /dev/null
+++ b/tests/LoggerTest.php
@@ -0,0 +1,20 @@
+<?php
+
+use Katzgrau\KLogger\Logger;
+
+class LoggerTest extends PHPUnit_Framework_TestCase
+{
+ private $logPath;
+ private $logger;
+
+ public function setUp()
+ {
+ $this->logPath = __DIR__.'/logs';
+ $this->logger = new Logger($this->logPath);
+ }
+
+ public function testImplementsPsr3LoggerInterface()
+ {
+ $this->assertInstanceOf('Psr\Log\LoggerInterface', $this->logger);
+ }
+}