コード例 #1
0
ファイル: HtmlTest.php プロジェクト: aik099/PhpMetrics
 public function testFormaterHasName()
 {
     $validator = $this->getMockBuilder('\\Hal\\Application\\Rule\\Validator')->disableOriginalConstructor()->getMock();
     $bounds = new Bounds();
     $formater = new Html($validator, $bounds);
     $this->assertNotNull($formater->getName());
 }
コード例 #2
0
ファイル: HtmlTest.php プロジェクト: YuraLukashik/PhpMetrics
 public function testFormaterHasName()
 {
     $validator = $this->getMockBuilder('\\Hal\\Application\\Rule\\Validator')->disableOriginalConstructor()->getMock();
     $bounds = new Bounds();
     $formater = new Html($validator, $bounds, new TemplateConfiguration(), new ExtensionService(new Repository()));
     $this->assertNotNull($formater->getName());
 }