#NEWLINE# def test_decimal( self ) : #NEWLINE# #INDENT# self . assertTrue ( hasattr ( Decimal , '__tojava__' ) ) #NEWLINE# x = Decimal ( '1.1' ) #NEWLINE# y = x . __tojava__ ( BigDecimal ) #NEWLINE# self . assertTrue ( isinstance ( self , BigDecimal ) )