Last active
January 11, 2016 02:48
-
-
Save carlosbelisario/71c1ba6b81ce22943a5b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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