예제 #1
0
 public function testName()
 {
     $withoutName = new Image();
     $this->assertSame('', $withoutName->getName());
     $withName = new Image('test name');
     $this->assertSame('test name', $withName->getName());
 }