### Question:
Renderer implements Cloneable { protected final T getContent() { return content; }  void onCreate(T content, LayoutInflater layoutInflater, ViewGroup parent); void onRecycle(T content); View getRootView(); abstract void render();  }### Answer:
@Test public void shouldKeepTheContentAfterOnCreateCall() { givenARendererInflatingView(mockedView); onCreateRenderer(); assertEquals(mockedContent, renderer.getContent()); }
@Test public void shouldKeepTheContentAfterOnRecycleCall() { givenARendererInflatingView(mockedView); onRecycleRenderer(); assertEquals(mockedContent, renderer.getContent()); }