@Test
  public void reactive() {
    ValueType value = rule.value(ReactiveModel.class);
    RepositoryModel repository = value.getCriteriaRepository();
    check(repository.facets()).hasSize(2);

    assertFacet(findFacet(repository, ReactiveRepository.Readable.class), ReactiveRepository.Readable.class);
    assertFacet(findFacet(repository, ReactiveRepository.Writable.class), ReactiveRepository.Writable.class);
  }
Validation for repository model. It is the one generated in {@link RepositoryModel}

<p>The reason this was not yet migrated to JUnit5 is because (apparently) tests are executed
in different thread from compiler which makes hard to get correct {@link javax.annotation.processing.ProcessingEnvironment}.
</p>

@see ValueType
@see <a href="https://github.com/Kiskae/compile-testing-extension">Junit5 compile extension</a>
@see <a href="https://github.com/google/compile-testing/pull/155">Add JUnit5 implementation of CompilationRule</a>
criteria/common/test/org/immutables/criteria/processor/RepositoryTest.java