PHP Classes

File: tests/util-tests/ArraysTest.php

Recommend this page to a friend!
  Classes of Maik Greubel   PHP Generics   tests/util-tests/ArraysTest.php   Download  
File: tests/util-tests/ArraysTest.php
Role: Unit test script
Content type: text/plain
Description: Testing Arrays support utilities
Class: PHP Generics
Framework for accessing streams, sockets and logs
Author: By
Last change: Update of tests/util-tests/ArraysTest.php
Date: 2 months ago
Size: 271 bytes
 

Contents

Class file image Download
<?php

namespace Generics\Tests;

use
Generics\Util\Arrays;

class
ArraysTest extends \PHPUnit\Framework\TestCase
{
    public function
testCreateEmptyArray()
    {
       
$array = Arrays::createEmptyArray(10);

       
$this->assertEquals(10, $array->count());
    }
}