tests the defaultstockservice #getbysymbol string method . concode_field_sep EntityManager entityManager concode_elem_sep StockService stockService concode_field_sep Stock createStock concode_elem_sep void testGet concode_elem_sep void testGetAll concode_elem_sep Archive createTestArchive concode_elem_sep void assertStock concode_elem_sep void testSave concode_elem_sep void testUpdate concode_elem_sep void tearDown
void function ( ) { runScript ( entityManager , "srini_string" ) ; Stock loc0 = createStock ( "srini_string" , "srini_string" , 123.21D , new Date ( ) ) ; Stock loc1 = stockService . getBySymbol ( loc0 . getSymbol ( ) ) ; assertNotNull ( "srini_string" , loc1 ) ; assertStock ( loc0 , loc1 ) ; }