### Question:
BPMNFormAdapter extends AbstractFormAdapter { static boolean isBPMNFile(final String fileName) { return ResourceType.getResourceType("BPMN2").matchesExtension(fileName); } BPMNFormAdapter(MigrationContext migrationContext);   }### Answer:
@Test public void testIsBPMNFile() throws Exception { assertTrue(BPMNFormAdapter.isBPMNFile("abc.bpmn")); assertTrue(BPMNFormAdapter.isBPMNFile("abc.bpmn2")); assertTrue(BPMNFormAdapter.isBPMNFile("abc.bpmn-cm")); assertFalse(BPMNFormAdapter.isBPMNFile("abc.bpmn2-cm")); }