public void testGetRendererException() {
Renderer renderer1 = createMock(Renderer.class);
Renderer renderer2 = createMock(Renderer.class);
Renderer renderer3 = createMock(Renderer.class);
Renderer renderer4 = createMock(Renderer.class);
ApplicationContext applicationContext = createMock(ApplicationContext.class);
replay(renderer1, renderer2, renderer3, renderer4, applicationContext);
rendererFactory.registerRenderer("string", renderer1);
rendererFactory.registerRenderer("test", renderer2);
rendererFactory.registerRenderer("test2", renderer3);