public function testDoRender()
 {
     $class = new DefaultRendererMockObject();
     $renderer = new LoggerRendererDefault();
     self::assertEquals(var_export($class, true), $renderer->render($class));
 }
 public function testDefaultRenderer()
 {
     $fruit = new Fruit3();
     $map = new LoggerRendererMap();
     $actual = $map->findAndRender($fruit);
     $defaultRenderer = new LoggerRendererDefault();
     $expected = $defaultRenderer->render($fruit);
     self::assertSame($expected, $actual);
 }