@Test
public void shortConversions()
{
ShortConverter converter = new ShortConverter();
assertNull(converter.convertToObject("", Locale.US));
assertEquals(new Short((short)10), converter.convertToObject("10", Locale.US));
assertEquals("10", converter.convertToString((short)10, Locale.US));
try
{
converter.convertToObject("whatever", Locale.US);
fail("Conversion should have thrown an exception");