@Test
void getFromPolicyElement() {

    PolicyConverterTest textExtConverter = new PolicyConverterTest(".test.ext", "hello");
    PolicyConverterTest defaultConverter = new PolicyConverterTest(".xml", "default-converter");
    PolicyConverterRegistry policyConverterRegistry = new PolicyConverterRegistry(ImmutableSet.of(textExtConverter, defaultConverter));
    assertEquals(textExtConverter, policyConverterRegistry.getFromPolicyElement("hello", null));
    assertEquals(defaultConverter, policyConverterRegistry.getFromPolicyElement("another-name", null));
}