示例#1
0
 public function test_getName()
 {
     $shape = new Shape(0, 0);
     $this->assertNull($shape->name);
     $name = str_shuffle(time());
     $shape->name = $name;
     $this->assertEquals($name, $shape->getName());
 }