@Test
public void getATableTwice_should_returnSameInstance() {

    final TableType first = repository.get(ClassBasedTableTypeReference.of(Table.class));
    final TableType second = repository.get(ClassBasedTableTypeReference.of(Table.class));
    assertThat(first, is(sameInstance(second)));
}