for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace PHPKitchen\Platform\Specs\Unit\Collection;
use PHPKitchen\Platform\Collection\Collection;
use PHPKitchen\Platform\Specs\Base\Spec;
/**
* Specification for {@link Collection}
*
* @author Dmitry Kolodko <[email protected]>
*/
class CollectionSpec extends Spec {
* @test
public function constructorBehavior() {
$collection = Collection::from([]);
$this->tester->seeBool($collection->isNull())
->isFalse();
}