METHOD_0 ( ) { com . liferay . IDENT_0 . data . mapping . model . IDENT_1 IDENT_2 = mock ( com . liferay . IDENT_0 . data . mapping . model . IDENT_1 . class ) ; when ( IDENT_3 . METHOD_1 ( org . mockito . Matchers . METHOD_2 ( ) , org . mockito . Matchers . METHOD_2 ( ) , org . mockito . Matchers . anyString ( ) , org . mockito . Matchers . anyString ( ) , org . mockito . Matchers . anyString ( ) , org . mockito . Matchers . any ( com . liferay . portal . kernel . service . IDENT_4 . class ) ) ) . thenReturn ( IDENT_2 ) ; when ( IDENT_2 . METHOD_3 ( ) ) . thenReturn ( 1L ) ; com . liferay . IDENT_0 . data . mapping . storage . IDENT_5 IDENT_6 = mock ( com . liferay . IDENT_0 . data . mapping . storage . IDENT_5 . class ) ; com . liferay . IDENT_0 . data . mapping . io . IDENT_7 IDENT_8 = IDENT_7 . Builder . METHOD_4 ( STRING_0 ) . build ( ) ; when ( IDENT_9 . serialize ( org . mockito . Mockito . any ( com . liferay . IDENT_0 . data . mapping . io . IDENT_10 . class ) ) ) . thenReturn ( IDENT_8 ) ; com . liferay . IDENT_0 . data . mapping . storage . IDENT_11 . Builder builder = IDENT_11 . Builder . METHOD_4 ( 1 , 1 , IDENT_6 ) ; com . liferay . IDENT_0 . data . mapping . storage . IDENT_11 IDENT_12 = builder . build ( ) ; com . liferay . IDENT_0 . data . mapping . storage . IDENT_13 IDENT_14 = IDENT_15 . save ( IDENT_12 ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_9 , org . mockito . Mockito . times ( 1 ) ) . serialize ( org . mockito . Mockito . any ( com . liferay . IDENT_0 . data . mapping . io . IDENT_10 . class ) ) ; org . mockito . Mockito . verify ( IDENT_3 , org . mockito . Mockito . times ( 1 ) ) . METHOD_1 ( org . mockito . Matchers . METHOD_2 ( ) , org . mockito . Matchers . METHOD_2 ( ) , org . mockito . Matchers . anyString ( ) , org . mockito . Matchers . anyString ( ) , org . mockito . Matchers . anyString ( ) , org . mockito . Matchers . any ( com . liferay . portal . kernel . service . IDENT_4 . class ) ) ; } METHOD_3 ( ) { return IDENT_16 ; }
org . junit . Assert . assertEquals ( 1L , IDENT_14 . METHOD_3 ( ) )