METHOD_0 ( ) { this . IDENT_0 . METHOD_1 ( org . xwiki . component . manager . IDENT_1 . class ) ; org . xwiki . component . manager . IDENT_1 IDENT_2 = this . IDENT_0 . getInstance ( org . xwiki . component . manager . IDENT_1 . class ) ; com . IDENT_3 . xwiki . store . IDENT_4 store = mock ( com . IDENT_3 . xwiki . store . IDENT_4 . class ) ; when ( IDENT_2 . getInstance ( com . IDENT_3 . xwiki . store . IDENT_5 . class , STRING_0 ) ) . thenReturn ( store ) ; org . xwiki . context . IDENT_6 e = this . IDENT_0 . getInstance ( org . xwiki . context . IDENT_6 . class ) ; org . xwiki . context . IDENT_7 IDENT_8 = mock ( org . xwiki . context . IDENT_7 . class ) ; when ( e . METHOD_2 ( ) ) . thenReturn ( IDENT_8 ) ; com . IDENT_3 . xwiki . IDENT_9 IDENT_10 = mock ( com . IDENT_3 . xwiki . IDENT_9 . class ) ; when ( IDENT_8 . getProperty ( STRING_1 ) ) . thenReturn ( IDENT_10 ) ; @ java . lang . METHOD_3 ( STRING_2 ) org . mockito . IDENT_11 < com . IDENT_3 . xwiki . store . IDENT_12 . IDENT_13 < java . lang . Object > > IDENT_14 = new org . mockito . METHOD_4 ( ) ; this . IDENT_0 . METHOD_5 ( ) . METHOD_6 ( ) ; org . mockito . Mockito . verify ( store ) . METHOD_7 ( org . mockito . Matchers . METHOD_8 ( IDENT_10 ) , IDENT_14 . METHOD_9 ( ) ) ; com . IDENT_3 . xwiki . IDENT_15 xwiki = mock ( com . IDENT_3 . xwiki . IDENT_15 . class ) ; when ( IDENT_10 . METHOD_10 ( ) ) . thenReturn ( xwiki ) ; com . IDENT_3 . xwiki . store . IDENT_12 . IDENT_13 < java . lang . Object > IDENT_16 = IDENT_14 . getValue ( ) ; "<AssertPlaceHolder>" ; org . hibernate . IDENT_17 session = mock ( org . hibernate . IDENT_17 . class ) ; org . hibernate . Query q = mock ( org . hibernate . Query . class ) ; when ( session . METHOD_11 ( org . mockito . Matchers . anyString ( ) ) ) . thenReturn ( q ) ; java . util . List < java . lang . String > IDENT_18 = new java . util . ArrayList ( ) ; IDENT_18 . add ( STRING_3 ) ; when ( q . list ( ) ) . thenReturn ( IDENT_18 ) ; IDENT_16 . METHOD_12 ( session ) ; } getValue ( ) { return null ; }
org . junit . Assert . assertNotNull ( IDENT_16 )