source: class PropertiesFileConverterTest {
  
      @Test
    public void testConvert() throws IOException
      {
  
target:     File propsFile = File.createTempFile( "lingual.test.properties", null );
      propsFile.deleteOnExit();
  
      Properties testProps = new Properties();
  
      testProps.setProperty( "test1", "some value" );
      testProps.setProperty( "test2", "some other value" );
  
      testProps.store( new FileOutputStream( propsFile ), "" );
  
      PropertiesFileConverter pfc = new PropertiesFileConverter();
      Map<String, String> result = pfc.convert( propsFile.getAbsolutePath() );
  
      Map<String, String> expected = Maps.newHashMap();
      expected.put( "test1", "some value" );
      expected.put( "test2", "some other value" );
  
      assertEquals( expected, result );
      }
  
  }