/** @see DATAREST-221 */
  @Test
  public void returnsObjectAsIfNoProjectionTypeFound() {

    Projector projector = new PersistentEntityProjector(configuration, factory, "sample");

    Object object = new Object();
    assertThat(projector.project(object), is(object));
  }
  /** @see DATAREST-221 */
  @Test
  public void invokesProjectionFactoryIfProjectionFound() {

    configuration.addProjection(Sample.class, Object.class);

    Projector projector = new PersistentEntityProjector(configuration, factory, "sample");
    Object source = new Object();
    projector.project(source);

    verify(factory, times(1)).createProjection(source, Sample.class);
  }