public void testStringToShort() throws Exception
{
final MasterConversionService service = Sapphire.service( MasterConversionService.class );
assertEquals( Short.valueOf( (short) -32768 ), service.convert( "-32768", Short.class ) );
assertEquals( Short.valueOf( (short) -128 ), service.convert( "-128", Short.class ) );
assertEquals( Short.valueOf( (short) -48 ), service.convert( "-48", Short.class ) );
assertEquals( Short.valueOf( (short) 0 ), service.convert( "0", Short.class ) );
assertEquals( Short.valueOf( (short) 47 ), service.convert( "47", Short.class ) );
assertEquals( Short.valueOf( (short) 127 ), service.convert( "127", Short.class ) );
assertEquals( Short.valueOf( (short) 32767 ), service.convert( "32767", Short.class ) );