Skip to content
Permalink
Browse files

Get 100% coverage!

  • Loading branch information...
markstory committed Apr 5, 2016
1 parent 1c068b4 commit 2f37224154c36831b2a5929269a94010d15db8f1
Showing with 16 additions and 0 deletions.
  1. +16 −0 tests/TestCase/Http/MiddlewareStackTest.php
@@ -23,6 +23,22 @@
*/
class MiddlewareStackTest extends TestCase
{
/**
* Test get()
*
* @return void
*/
public function testGet()
{
$stack = new MiddlewareStack();
$cb = function () {
};
$stack->push($cb);
$this->assertSame($cb, $stack->get(0));
$this->assertNull($stack->get(1));
}
/**
* Test the return value of push()
*

0 comments on commit 2f37224

Please sign in to comment.
You can’t perform that action at this time.