From 4031c429589cdb7e988287d6e2ee06675dfe0e59 Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Sun, 24 Jul 2016 15:15:18 +0100 Subject: [PATCH] Added test existence tests --- tests/Bus/Commands/CommandExistenceTest.php | 30 +++++++++++++++++++++ tests/Bus/Events/EventExistenceTest.php | 30 +++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 tests/Bus/Commands/CommandExistenceTest.php create mode 100644 tests/Bus/Events/EventExistenceTest.php diff --git a/tests/Bus/Commands/CommandExistenceTest.php b/tests/Bus/Commands/CommandExistenceTest.php new file mode 100644 index 00000000..62106fba --- /dev/null +++ b/tests/Bus/Commands/CommandExistenceTest.php @@ -0,0 +1,30 @@ + + */ +class CommandExistenceTest extends TestCase +{ + use ExistenceTrait; + + protected function getSourcePath() + { + return realpath(__DIR__.'/../../../app/Bus/Commands'); + } +} diff --git a/tests/Bus/Events/EventExistenceTest.php b/tests/Bus/Events/EventExistenceTest.php new file mode 100644 index 00000000..47983a7f --- /dev/null +++ b/tests/Bus/Events/EventExistenceTest.php @@ -0,0 +1,30 @@ + + */ +class EventExistenceTest extends TestCase +{ + use ExistenceTrait; + + protected function getSourcePath() + { + return realpath(__DIR__.'/../../../app/Bus/Events'); + } +}