### Question:
RendererBuilder { public RendererBuilder<T> withPrototypes(Collection<? extends Renderer<? extends T>> prototypes) { if (prototypes == null) { throw new NeedsPrototypesException( "RendererBuilder has to be created with a non null collection of" + "Collection<Renderer<T> to provide new or recycled Renderer instances"); } this.prototypes.addAll(prototypes); return this; } RendererBuilder();  RendererBuilder(Renderer<T> renderer);  RendererBuilder(Collection<? extends Renderer<? extends T>> prototypes); final List<Renderer<? extends T>> getPrototypes(); final void setPrototypes(Collection<? extends Renderer<? extends T>> prototypes); RendererBuilder<T> withPrototypes(Collection<? extends Renderer<? extends T>> prototypes); RendererBuilder<T> withPrototype(Renderer<? extends T> renderer); RendererBuilder<T> bind(Class<G> clazz, Renderer<? extends G> prototype); RendererBuilder<T> bind(Class<G> clazz, Class<? extends Renderer<? extends G>> prototypeClass);  }### Answer:
@Test(expected = NeedsPrototypesException.class) public void shouldNotAcceptNullPrototypes() { RendererBuilder<Object> rendererBuilder = new RendererBuilder<Object>(); rendererBuilder.withPrototypes(null); }