METHOD_0 ( ) { org . onosproject . net . resource . IDENT_0 resource = IDENT_1 . IDENT_2 ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . Class ) { METHOD_2 ( type ) ; if ( ( ( type == ( java . lang . Object . class ) ) || ( type == ( double . class ) ) ) || ( type == ( org . onosproject . net . resource . Double . class ) ) ) { @ org . onosproject . net . resource . METHOD_3 ( STRING_0 ) T value = ( ( T ) ( java . lang . Double . valueOf ( this . value ) ) ) ; return java . util . Optional . of ( value ) ; } return java . util . Optional . empty ( ) ; }
org . junit . Assert . assertThat ( resource . METHOD_1 ( java . lang . Object . class ) , org . hamcrest . Matchers . is ( java . util . Optional . empty ( ) ) )