@Test
public void testToDb() throws MapperException {

    LOG.info("testToDb");
    Assert.assertEquals("en", mapper.toDb(Locale.ENGLISH));
    Assert.assertEquals("en_US", mapper.toDb(Locale.US));
    Assert.assertEquals("nl_NL", mapper.toDb(new Locale("nl", "NL")));
    Assert.assertEquals("es_ES_Traditional_WIN", mapper.toDb(new Locale("es", "ES", "Traditional_WIN")));
}