METHOD_0 ( ) { final org . codice . ddf . util . function . IDENT_0 < org . codice . ddf . IDENT_1 . IDENT_2 , java . io . IDENT_3 , java . io . IOException > consumer = org . mockito . Mockito . mock ( org . codice . ddf . util . function . IDENT_0 . class ) ; final org . codice . ddf . util . function . IDENT_0 < org . codice . ddf . IDENT_1 . IDENT_2 , java . io . IDENT_3 , java . io . IOException > IDENT_4 = org . mockito . Mockito . mock ( org . codice . ddf . util . function . IDENT_0 . class ) ; final java . io . IDENT_3 IDENT_5 = org . mockito . Mockito . mock ( java . io . IDENT_3 . class ) ; final java . io . IOException IDENT_6 = org . mockito . Mockito . mock ( java . io . IOException . class ) ; final org . codice . ddf . configuration . IDENT_1 . IDENT_7 IDENT_8 = new org . codice . ddf . configuration . IDENT_1 . METHOD_1 ( IDENT_6 ) ; org . mockito . Mockito . when ( context . METHOD_2 ( org . mockito . Mockito . any ( ) ) ) . thenReturn ( IDENT_5 ) ; org . mockito . Mockito . METHOD_3 ( IDENT_8 ) . when ( consumer ) . accept ( org . mockito . Mockito . any ( ) , org . mockito . Mockito . any ( ) ) ; IDENT_9 . expect ( org . hamcrest . Matchers . METHOD_4 ( org . codice . ddf . IDENT_1 . IDENT_10 . class ) ) ; IDENT_9 . METHOD_5 ( org . hamcrest . Matchers . METHOD_6 ( IDENT_6 ) ) ; try { entry . store ( consumer ) ; } finally { org . mockito . Mockito . verify ( consumer ) . accept ( org . mockito . Mockito . METHOD_7 ( report ) , org . mockito . Mockito . METHOD_7 ( IDENT_5 ) ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_4 , org . mockito . Mockito . METHOD_8 ( ) ) . accept ( org . mockito . Mockito . any ( ) , org . mockito . Mockito . any ( ) ) ; } } store ( ) { if ( ! ( IDENT_11 ) ) { org . codice . ddf . configuration . admin . IDENT_12 . LOGGER . debug ( STRING_0 , configuration . METHOD_9 ( ) , entry . getPath ( ) ) ; final java . util . IDENT_13 < java . lang . String , java . lang . Object > props = configuration . METHOD_10 ( ) ; final java . lang . String IDENT_14 = configuration . METHOD_11 ( ) ; if ( IDENT_14 != null ) { props . put ( IDENT_15 . IDENT_16 , IDENT_14 ) ; } else { props . remove ( IDENT_15 . IDENT_16 ) ; } props . put ( org . osgi . framework . Constants . IDENT_17 , configuration . METHOD_9 ( ) ) ; final java . lang . String location = configuration . METHOD_12 ( ) ; if ( location != null ) { props . put ( IDENT_15 . IDENT_18 , location ) ; } else { props . remove ( IDENT_15 . IDENT_18 ) ; } this . IDENT_11 = entry . store ( ( r , out ) -> IDENT_19 . write ( out , props ) ) ; } return IDENT_11 ; }
org . junit . Assert . assertThat ( entry . store ( ) , org . hamcrest . Matchers . equalTo ( false ) )