### Question:
JobFileListener implements FileListener { public String[] getSupportedExtensions() { return new String[] { "kjb", "xml" }; }  boolean open( Node jobNode, String fname, boolean importfile ); boolean save( EngineMetaInterface meta, String fname, boolean export ); void syncMetaName( EngineMetaInterface meta, String name ); boolean accepts( String fileName ); boolean acceptsXml( String nodeName ); String[] getFileTypeDisplayNames( Locale locale ); String[] getSupportedExtensions(); String getRootNodeName();  }### Answer:
@Test public void testGetSupportedExtensions() throws Exception { String[] extensions = jobFileListener.getSupportedExtensions(); assertNotNull( extensions ); assertEquals( 2, extensions.length ); assertEquals( "kjb", extensions[0] ); assertEquals( "xml", extensions[1] ); }