@Test
@ExtendWith(TemporaryFolderExtension.class)
void testLoadPolicyUnknownType(TemporaryFolder temporaryFolder) throws IOException {

    PolicyAndFolderLoader policyAndFolderLoader = new PolicyAndFolderLoader(policyConverterRegistry, FileUtils.INSTANCE, new IdGenerator(), JsonFileUtils.INSTANCE);
    File policyFolder = temporaryFolder.createDirectory("policy");
    File policy = new File(policyFolder, "policy.blah");
    Files.touch(policy);
    File configFolder = temporaryFolder.createDirectory("config");
    File policyDep = new File(configFolder, "policies.yml");
    Map<String, PolicyMetadata> policyMetadataMap = new HashMap<>();
    JsonFileUtils.INSTANCE.createFile(policyMetadataMap, policyDep.toPath());
    Bundle bundle = new Bundle();
    policyAndFolderLoader.load(bundle, temporaryFolder.getRoot());
    Policy loadedPolicy = bundle.getPolicies().get("policy");
    Assert.assertNull(loadedPolicy);
}