Skip to content

Instantly share code, notes, and snippets.

@carlosbelisario
Last active January 11, 2016 02:48
Show Gist options
  • Save carlosbelisario/71c1ba6b81ce22943a5b to your computer and use it in GitHub Desktop.
Save carlosbelisario/71c1ba6b81ce22943a5b to your computer and use it in GitHub Desktop.
<?php
namespace AppBundle\Tests\Entity;
use \PHPUnit_Framework_TestCase as TestCase;
use AppBundle\Entity\Album;
/**
* Class AlbumTest
* @package AppBundle\Tests\Entity
* @author Carlos Belisario <carlos.belisario.gonzalez@gmail.com>
*/
class AlbumTest extends TestCase
{
/**
*
* prueba la existencia e instancia de un nuevo objeto tipo Album
* @test
*/
public function testAlbumInitialCount()
{
$album = new Album();
$this->assertEquals(1, count($album));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment