Ejemplo n.º 1
0
 public function testInitiateValues()
 {
     $this->assertEquals($this->classMethodsCamelCase->getFooBar(), '1');
     $this->assertEquals($this->classMethodsCamelCase->getFooBarBaz(), '2');
     $this->assertEquals($this->classMethodsCamelCase->getIsFoo(), true);
     $this->assertEquals($this->classMethodsCamelCase->isBar(), true);
     $this->assertEquals($this->classMethodsCamelCase->getHasFoo(), true);
     $this->assertEquals($this->classMethodsCamelCase->hasBar(), true);
     $this->assertEquals($this->classMethodsUnderscore->getFooBar(), '1');
     $this->assertEquals($this->classMethodsUnderscore->getFooBarBaz(), '2');
     $this->assertEquals($this->classMethodsUnderscore->getIsFoo(), true);
     $this->assertEquals($this->classMethodsUnderscore->isBar(), true);
     $this->assertEquals($this->classMethodsUnderscore->getHasFoo(), true);
     $this->assertEquals($this->classMethodsUnderscore->hasBar(), true);
 }