@Test
void getConverterFromFileName() {

    PolicyConverterTest textExtConverter = new PolicyConverterTest(".test.ext", "test");
    PolicyConverterRegistry policyConverterRegistry = new PolicyConverterRegistry(ImmutableSet.of(textExtConverter));
    assertEquals(textExtConverter, policyConverterRegistry.getConverterFromFileName("hello.test.ext"));
    assertThrows(PolicyConverterException.class, () -> policyConverterRegistry.getConverterFromFileName("hello.test"));
}