public function testFormaterHasName() { $validator = $this->getMockBuilder('\\Hal\\Application\\Rule\\Validator')->disableOriginalConstructor()->getMock(); $bounds = new Bounds(); $formater = new Cli($validator, $bounds); $this->assertNotNull($formater->getName()); }