Code Duplication    Length = 8-8 lines in 2 locations

Tests/Command/CreateOrganizationCommandTest.php 1 location

@@ 155-162 (lines=8) @@
152
     *
153
     * @return resource
154
     */
155
    protected function getInputStream($input)
156
    {
157
        $stream = fopen('php://memory', 'r+', false);
158
        fwrite($stream, $input);
159
        rewind($stream);
160
161
        return $stream;
162
    }
163
}
164

Tests/Command/CreateTenantCommandTest.php 1 location

@@ 194-201 (lines=8) @@
191
     *
192
     * @return resource
193
     */
194
    protected function getInputStream($input)
195
    {
196
        $stream = fopen('php://memory', 'r+', false);
197
        fwrite($stream, $input);
198
        rewind($stream);
199
200
        return $stream;
201
    }
202
}
203