METHOD_0 ( ) { org . osgi . service . IDENT_0 . User IDENT_1 = org . mockito . Mockito . mock ( org . osgi . service . IDENT_0 . User . class ) ; java . util . IDENT_2 < java . lang . String , java . lang . Object > props = new java . util . IDENT_3 < java . lang . String , java . lang . Object > ( ) ; org . mockito . Mockito . when ( IDENT_4 . METHOD_1 ( STRING_0 ) ) . thenReturn ( IDENT_1 ) ; org . mockito . Mockito . when ( IDENT_1 . getType ( ) ) . thenReturn ( IDENT_5 . IDENT_6 ) ; org . mockito . Mockito . when ( IDENT_1 . METHOD_2 ( ) ) . thenReturn ( props ) ; IDENT_7 . METHOD_3 ( STRING_1 , new byte [ ] { 1 , 2 } , STRING_0 ) ; "<AssertPlaceHolder>" ; } get ( java . lang . Object ) { return getProperty ( ( ( java . lang . String ) ( key ) ) ) ; }
org . junit . Assert . assertArrayEquals ( new byte [ ] { 1 , 2 } , ( ( byte [ ] ) ( props . get ( STRING_1 ) ) ) )