コード例 #1
0
 public function test_getFullDescription()
 {
     $shape = new Shape(4, 5);
     $id = $shape->getId();
     $name = str_shuffle(time());
     $shape->name = $name;
     $this->assertEquals('Shape<#' . $id . '>: ' . $name . ' - 4 x 5', $shape->getFullDescription());
 }