diff --git a/tests/MamuzBlogTest/EventManager/EventTest.php b/tests/MamuzBlogTest/EventManager/EventTest.php new file mode 100644 index 0000000..73901f9 --- /dev/null +++ b/tests/MamuzBlogTest/EventManager/EventTest.php @@ -0,0 +1,21 @@ +assertSame('mamuz-blog', Event::IDENTIFIER); + } + + public function testEventNames() + { + $this->assertSame('createPaginator.pre', Event::PRE_PAGINATION_CREATE); + $this->assertSame('createPaginator.post', Event::POST_PAGINATION_CREATE); + $this->assertSame('findPublishedPost.pre', Event::PRE_FIND_PUBLISHED_POST); + $this->assertSame('findPublishedPost.post', Event::POST_FIND_PUBLISHED_POST); + } +}