public function testShouldCreateARuleByName() { $factory = new Factory(); $this->assertInstanceOf(Uppercase::class, $factory->rule('uppercase')); }