1<?php
2
3/**
4 * This file is part of the Phalcon Framework.
5 *
6 * (c) Phalcon Team <team@phalcon.io>
7 *
8 * For the full copyright and license information, please view the LICENSE.txt
9 * file that was distributed with this source code.
10 */
11
12declare(strict_types=1);
13
14namespace Phalcon\Test\Unit\Http\Message\Stream\Memory;
15
16use Phalcon\Http\Message\Stream\Memory;
17use Psr\Http\Message\StreamInterface;
18use UnitTester;
19
20class ConstructCest
21{
22    /**
23     * Tests Phalcon\Http\Message\Stream\Memory :: __construct()
24     *
25     * @author Phalcon Team <team@phalcon.io>
26     * @since  2019-02-19
27     */
28    public function httpMessageStreamMemoryConstruct(UnitTester $I)
29    {
30        $I->wantToTest('Http\Message\Stream\Memory - __construct()');
31        $request = new Memory();
32        $class   = StreamInterface::class;
33        $I->assertInstanceOf($class, $request);
34    }
35}
36