public function testFormaterHasName() { $validator = $this->getMockBuilder('\\Hal\\Application\\Rule\\Validator')->disableOriginalConstructor()->getMock(); $bounds = new Bounds(); $formater = new Html($validator, $bounds); $this->assertNotNull($formater->getName()); }
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()); }