public ResolvedDefaultTemplates defaultTemplates() {
    return defaultTemplates;
  }
@Test
  public void fail_if_default_templates_are_null() {
    assertThatThrownBy(() ->  {
      underTest.defaultTemplates(null);

      underTest.build();
    })
      .isInstanceOf(IllegalStateException.class);
  }