METHOD_0 ( ) { com . liferay . IDENT_0 . data . mapping . io . internal . IDENT_1 . IDENT_2 IDENT_3 = new com . liferay . IDENT_0 . data . mapping . io . internal . IDENT_1 . METHOD_1 ( ) ; IDENT_3 . IDENT_4 = IDENT_5 ; com . liferay . IDENT_0 . data . mapping . io . IDENT_1 . IDENT_6 IDENT_7 = mock ( com . liferay . IDENT_0 . data . mapping . io . IDENT_1 . IDENT_6 . class ) ; when ( IDENT_5 . METHOD_2 ( STRING_0 ) ) . thenReturn ( IDENT_7 ) ; com . liferay . IDENT_0 . data . mapping . io . IDENT_1 . IDENT_8 . Builder builder = IDENT_8 . Builder . METHOD_3 ( new byte [ ] { 1 , 2 , 3 } ) ; when ( IDENT_7 . write ( org . mockito . Matchers . any ( com . liferay . IDENT_0 . data . mapping . io . IDENT_1 . IDENT_9 . class ) ) ) . thenReturn ( builder . build ( ) ) ; byte [ ] content = IDENT_3 . write ( STRING_0 , java . util . Collections . METHOD_4 ( ) , java . util . Collections . emptyList ( ) ) ; "<AssertPlaceHolder>" ; org . mockito . IDENT_10 IDENT_11 = org . mockito . Mockito . METHOD_5 ( IDENT_5 , IDENT_7 ) ; METHOD_5 . verify ( IDENT_5 , org . mockito . Mockito . times ( 1 ) ) . METHOD_2 ( STRING_0 ) ; METHOD_5 . verify ( IDENT_7 , org . mockito . Mockito . times ( 1 ) ) . write ( org . mockito . Matchers . any ( com . liferay . IDENT_0 . data . mapping . io . IDENT_1 . IDENT_9 . class ) ) ; } write ( java . lang . String , java . util . Map , java . util . List ) { com . liferay . IDENT_0 . data . mapping . io . IDENT_1 . IDENT_6 IDENT_7 = IDENT_4 . METHOD_2 ( type ) ; com . liferay . IDENT_0 . data . mapping . io . IDENT_1 . IDENT_9 . Builder builder = IDENT_9 . Builder . METHOD_3 ( IDENT_12 , IDENT_13 ) ; com . liferay . IDENT_0 . data . mapping . io . IDENT_1 . IDENT_9 IDENT_14 = builder . build ( ) ; com . liferay . IDENT_0 . data . mapping . io . IDENT_1 . IDENT_8 IDENT_15 = IDENT_7 . write ( IDENT_14 ) ; return IDENT_15 . METHOD_6 ( ) ; }
org . junit . Assert . assertArrayEquals ( new byte [ ] { 1 , 2 , 3 } , content )