input stringlengths 35 67.8k | output stringlengths 39 1.53k |
|---|---|
METHOD_0 ( ) { final java . lang . String IDENT_0 = com . spotify . google . cloud . IDENT_1 . client . IDENT_2 . METHOD_1 ( com . spotify . google . cloud . IDENT_1 . client . IDENT_3 . IDENT_4 , com . spotify . google . cloud . IDENT_1 . client . IDENT_3 . IDENT_5 ) ; final java . lang . String IDENT_6 = com . spotif... | org . junit . Assert . assertTrue ( java . util . Arrays . equals ( json , expected ) ) |
METHOD_0 ( ) { final com . spotify . google . cloud . IDENT_0 . client . IDENT_1 IDENT_2 = com . spotify . google . cloud . IDENT_0 . client . IDENT_1 . of ( com . spotify . google . cloud . IDENT_0 . client . IDENT_3 . IDENT_4 , com . spotify . google . cloud . IDENT_0 . client . IDENT_3 . IDENT_5 ) ; final java . lan... | org . junit . Assert . assertThat ( IDENT_2 . name ( ) , org . hamcrest . Matchers . is ( IDENT_6 ) ) |
METHOD_0 ( ) { final long IDENT_0 = INT_0 ; final java . lang . String IDENT_1 = STRING_0 ; final com . spotify . IDENT_2 . client . jackson . IDENT_3 . IDENT_4 IDENT_5 = new com . spotify . IDENT_2 . client . jackson . IDENT_3 . METHOD_1 ( new java . util . Date ( IDENT_0 ) ) ; final java . lang . String json = com . ... | org . junit . Assert . assertThat ( json , org . hamcrest . Matchers . equalTo ( IDENT_1 ) ) |
METHOD_0 ( ) { final java . util . Map < java . lang . String , java . lang . String > out = com . spotify . IDENT_0 . output . IDENT_1 . METHOD_1 ( com . google . common . collect . ImmutableMap . of ( STRING_0 , "bar" , STRING_1 , STRING_2 , STRING_3 , STRING_4 ) ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertEquals ( com . google . common . collect . ImmutableMap . of ( "foo" , "bar" , "bar" , STRING_4 ) , out ) |
METHOD_0 ( ) { com . google . common . util . concurrent . IDENT_0 < java . lang . Integer > a = com . google . common . util . concurrent . IDENT_1 . METHOD_1 ( INT_0 ) ; com . google . common . util . concurrent . IDENT_0 < java . lang . Integer > b = com . google . common . util . concurrent . IDENT_1 . METHOD_1 ( I... | org . junit . Assert . assertEquals ( ( INT_1 + INT_0 ) , result . get ( ) . METHOD_3 ( ) ) |
METHOD_0 ( ) { final org . hamcrest . IDENT_0 < com . fasterxml . jackson . databind . IDENT_1 > IDENT_2 = com . spotify . hamcrest . jackson . IDENT_3 . METHOD_1 ( com . spotify . hamcrest . jackson . IDENT_4 . IDENT_5 . METHOD_2 ( ) . put ( "a" , 1 ) . put ( "b" , false ) ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertThat ( com . spotify . hamcrest . jackson . IDENT_4 . IDENT_5 . METHOD_2 ( ) . put ( "a" , 1 ) . put ( "b" , false ) , org . hamcrest . core . Is . is ( IDENT_2 ) ) |
METHOD_0 ( ) { final com . spotify . IDENT_0 . handler . codec . IDENT_1 . IDENT_2 IDENT_3 = com . spotify . IDENT_0 . handler . codec . IDENT_1 . IDENT_2 . METHOD_1 ( com . spotify . IDENT_0 . handler . codec . IDENT_1 . IDENT_4 . IDENT_5 , STRING_0 , STRING_1 ) ; final com . spotify . IDENT_0 . handler . codec . IDEN... | org . junit . Assert . assertThat ( IDENT_3 , org . hamcrest . Matchers . is ( IDENT_6 ) ) |
METHOD_0 ( ) { final com . spotify . IDENT_0 . handler . codec . IDENT_1 . IDENT_2 m = com . spotify . IDENT_0 . handler . codec . IDENT_1 . IDENT_2 . METHOD_1 ( com . spotify . IDENT_0 . handler . codec . IDENT_1 . IDENT_3 . IDENT_4 , STRING_0 , STRING_1 ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertThat ( m , org . hamcrest . Matchers . is ( m ) ) |
METHOD_0 ( ) { java . util . Set < com . spotify . metrics . IDENT_0 . IDENT_1 > IDENT_2 = com . google . common . collect . IDENT_3 . METHOD_1 ( new com . spotify . metrics . IDENT_0 . METHOD_2 ( INT_0 ) , new com . spotify . metrics . IDENT_0 . METHOD_2 ( INT_1 ) , new com . spotify . metrics . IDENT_0 . METHOD_2 ( I... | org . junit . Assert . assertEquals ( IDENT_2 , set ) |
METHOD_0 ( ) { org . IDENT_0 . math . IDENT_1 . IDENT_2 IDENT_3 = org . IDENT_0 . math . IDENT_1 . IDENT_2 . METHOD_1 ( INT_0 , ( 16 / FLOAT_0 ) , 1 , INT_1 ) ; org . IDENT_0 . math . IDENT_1 . IDENT_2 view = org . IDENT_0 . math . IDENT_1 . IDENT_2 . METHOD_2 ( new org . IDENT_0 . math . IDENT_4 . METHOD_3 ( 0 , 0 , 0... | org . junit . Assert . assertEquals ( new org . IDENT_0 . math . IDENT_4 . METHOD_3 ( 0 , 0 , 0 ) , IDENT_6 . position ) |
METHOD_0 ( ) { final org . apache . logging . log4j . core . net . IDENT_0 . IDENT_1 IDENT_2 = new org . apache . logging . log4j . core . net . IDENT_0 . METHOD_1 ( IDENT_3 . IDENT_4 , org . apache . logging . log4j . core . net . IDENT_0 . IDENT_3 . METHOD_2 ( ) , null , null ) ; final java . security . IDENT_5 IDENT... | org . junit . Assert . assertNotNull ( IDENT_6 ) |
METHOD_0 ( ) { this . IDENT_0 . input ( ) . METHOD_1 ( new org . springframework . IDENT_1 . support . IDENT_2 < java . lang . Object > ( "" ) ) ; org . springframework . IDENT_3 . metrics . IDENT_4 IDENT_5 = this . IDENT_6 . METHOD_2 ( org . springframework . cloud . stream . app . IDENT_7 . IDENT_8 . IDENT_0 . IDENT_... | org . junit . Assert . assertThat ( IDENT_5 . METHOD_2 ( ) , org . hamcrest . Matchers . equalTo ( new long [ ] { 0 , 0 , 0 , 0 , 1 } ) ) |
METHOD_0 ( ) { this . IDENT_0 . input ( ) . METHOD_1 ( new org . springframework . IDENT_1 . support . IDENT_2 < java . lang . Object > ( java . util . Collections . METHOD_2 ( STRING_0 , STRING_1 ) ) ) ; org . joda . time . IDENT_3 IDENT_4 = new org . joda . time . METHOD_3 ( INT_0 , 1 , 1 , 0 , 0 ) ; org . springfram... | org . junit . Assert . assertThat ( IDENT_7 . METHOD_4 ( ) , org . hamcrest . Matchers . equalTo ( new long [ ] { 0 , 0 , 1 , 0 , 0 } ) ) |
METHOD_0 ( ) { this . IDENT_0 . input ( ) . METHOD_1 ( new org . springframework . IDENT_1 . support . IDENT_2 < java . lang . Object > ( java . util . Collections . METHOD_2 ( STRING_0 , org . springframework . cloud . stream . app . IDENT_3 . IDENT_4 . IDENT_0 . IDENT_5 . IDENT_6 ) ) ) ; org . springframework . IDENT... | org . junit . Assert . assertThat ( IDENT_9 . METHOD_3 ( ) , org . hamcrest . Matchers . equalTo ( new long [ ] { 0 , 0 , 0 , 0 , 1 } ) ) |
METHOD_0 ( ) { IDENT_0 . index ( new org . springframework . data . elasticsearch . entities . METHOD_1 ( "1" , STRING_0 , STRING_1 , true ) ) ; IDENT_0 . index ( new org . springframework . data . elasticsearch . entities . METHOD_1 ( "2" , STRING_2 , STRING_3 , true ) ) ; java . util . List < org . springframework . ... | org . junit . Assert . assertThat ( IDENT_1 . size ( ) , org . hamcrest . CoreMatchers . is ( 2 ) ) |
METHOD_0 ( ) { IDENT_0 . save ( new org . springframework . data . elasticsearch . entities . METHOD_1 ( "1" , STRING_0 , STRING_1 , true ) ) ; IDENT_0 . save ( new org . springframework . data . elasticsearch . entities . METHOD_1 ( "2" , STRING_2 , STRING_3 , true ) ) ; java . util . List < org . springframework . da... | org . junit . Assert . assertThat ( IDENT_1 . size ( ) , org . hamcrest . CoreMatchers . is ( 1 ) ) |
METHOD_0 ( ) { final org . apache . logging . log4j . core . net . IDENT_0 . IDENT_1 IDENT_2 = new org . apache . logging . log4j . core . net . IDENT_0 . METHOD_1 ( IDENT_3 . IDENT_4 , new org . apache . logging . log4j . core . net . IDENT_0 . METHOD_2 ( org . apache . logging . log4j . core . net . IDENT_0 . IDENT_3... | org . junit . Assert . assertNotNull ( IDENT_6 ) |
METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . redis . IDENT_2 . logger . debug ( STRING_0 ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertFalse ( false ) |
METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( IDENT_1 ) ) . thenReturn ( INT_0 ) ; "<AssertPlaceHolder>" ; IDENT_2 . METHOD_2 ( IDENT_1 , 5 ) ; verify ( IDENT_0 ) . METHOD_3 ( IDENT_1 , 5 ) ; } | org . junit . Assert . assertEquals ( INT_0 , IDENT_0 . METHOD_1 ( IDENT_1 ) ) |
METHOD_0 ( ) { java . util . List < com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 > IDENT_4 = IDENT_5 . METHOD_0 ( java . util . Arrays . asList ( 1L , INT_0 ) ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertEquals ( 2 , IDENT_4 . size ( ) ) |
METHOD_0 ( ) { java . util . List < com . IDENT_0 . IDENT_1 . events . IDENT_2 > IDENT_3 = IDENT_4 . METHOD_1 ( 1L , new org . joda . time . METHOD_2 ( INT_0 , 10 , INT_1 ) , 1L ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertEquals ( 1 , IDENT_3 . size ( ) ) |
METHOD_0 ( ) { IDENT_0 = new org . springframework . batch . admin . service . METHOD_1 ( IDENT_1 ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertNotNull ( IDENT_0 ) |
METHOD_0 ( ) { long count = repository . METHOD_1 ( STRING_0 , STRING_1 ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertEquals ( 12 , count ) |
METHOD_0 ( ) { org . springframework . data . couchbase . repository . IDENT_0 user = repository . METHOD_1 ( ) . METHOD_2 ( 1 ) . METHOD_3 ( ) ; "<AssertPlaceHolder>" ; assert user . METHOD_4 ( ) . startsWith ( STRING_0 ) ; assert user . METHOD_4 ( ) . startsWith ( STRING_0 ) ; } | org . junit . Assert . assertNotNull ( user ) |
METHOD_0 ( ) { org . springframework . data . repository . core . support . IDENT_0 factory = new org . springframework . data . couchbase . repository . support . METHOD_1 ( IDENT_1 , IDENT_2 ) ; org . springframework . data . couchbase . repository . feature . IDENT_3 repository = factory . METHOD_2 ( org . springfra... | org . junit . Assert . assertNotNull ( repository ) |
METHOD_0 ( ) { org . springframework . data . IDENT_0 . IDENT_1 IDENT_2 = new org . springframework . data . IDENT_0 . METHOD_1 ( new org . springframework . data . IDENT_0 . METHOD_2 ( 0 , 0 ) , new org . springframework . data . IDENT_0 . METHOD_3 ( 2 ) ) ; org . springframework . data . couchbase . repository . quer... | org . junit . Assert . assertEquals ( expected , IDENT_9 ) |
METHOD_0 ( ) { org . springframework . data . mongodb . examples . IDENT_0 . domain . IDENT_1 c = IDENT_2 . METHOD_1 ( org . springframework . data . mongodb . examples . IDENT_0 . data . IDENT_3 . IDENT_4 ) ; "<AssertPlaceHolder>" ; c . METHOD_2 ( STRING_0 ) ; } | org . junit . Assert . assertNotNull ( c ) |
METHOD_0 ( ) { org . springframework . data . jpa . domain . IDENT_0 . User user = IDENT_1 . METHOD_1 ( STRING_0 ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertEquals ( null , user ) |
METHOD_0 ( ) { org . springframework . data . mongodb . core . IDENT_0 person = new org . springframework . data . mongodb . core . METHOD_1 ( ) ; person . IDENT_1 = STRING_0 ; template . insert ( person ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertThat ( person . version , is ( 0 ) ) |
METHOD_0 ( ) { org . springframework . data . mongodb . core . IDENT_0 person = new org . springframework . data . mongodb . core . METHOD_1 ( ) ; person . IDENT_1 = STRING_0 ; template . METHOD_2 ( org . springframework . data . mongodb . core . Arrays . asList ( person ) ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertThat ( person . version , is ( 0 ) ) |
METHOD_0 ( ) { final org . apache . logging . log4j . core . net . IDENT_0 . IDENT_1 IDENT_2 = new org . apache . logging . log4j . core . net . IDENT_0 . METHOD_1 ( IDENT_3 . IDENT_4 , new org . apache . logging . log4j . core . net . IDENT_0 . METHOD_2 ( org . apache . logging . log4j . core . net . IDENT_0 . IDENT_3... | org . junit . Assert . assertTrue ( ( IDENT_6 == IDENT_7 ) ) |
METHOD_0 ( ) { template . METHOD_1 ( IDENT_0 . IDENT_1 ) ; org . springframework . data . mongodb . core . IDENT_2 person = new org . springframework . data . mongodb . core . METHOD_2 ( ) ; person . IDENT_3 = STRING_0 ; template . save ( person ) ; "<AssertPlaceHolder>" ; person . version = null ; template . save ( pe... | org . junit . Assert . assertThat ( person . version , is ( 0 ) ) |
METHOD_0 ( ) { org . springframework . data . mongodb . core . IDENT_0 . IDENT_1 IDENT_2 = new org . springframework . data . mongodb . core . IDENT_0 . METHOD_1 ( ) ; IDENT_2 . IDENT_3 = STRING_0 ; repo . save ( IDENT_2 ) ; org . springframework . data . mongodb . core . IDENT_0 . METHOD_1 IDENT_4 = repo . METHOD_2 ( ... | org . junit . Assert . assertThat ( IDENT_4 . IDENT_3 , org . hamcrest . core . Is . is ( IDENT_2 . IDENT_3 ) ) |
METHOD_0 ( ) { org . springframework . data . mongodb . core . IDENT_0 . Person IDENT_1 = new org . springframework . data . mongodb . core . IDENT_0 . Person ( ) ; IDENT_1 . IDENT_2 = STRING_0 ; IDENT_1 . IDENT_2 = STRING_1 ; org . springframework . data . mongodb . core . query . Query query = new org . springframewo... | org . junit . Assert . assertThat ( result , is ( empty ( ) ) ) |
METHOD_0 ( ) { org . springframework . data . mongodb . core . IDENT_0 . Person IDENT_1 = new org . springframework . data . mongodb . core . IDENT_0 . Person ( ) ; IDENT_1 . IDENT_2 = STRING_0 ; org . springframework . data . mongodb . core . query . Query query = new org . springframework . data . mongodb . core . qu... | org . junit . Assert . assertThat ( result . size ( ) , is ( 1 ) ) |
METHOD_0 ( ) { org . bson . Document document = new org . bson . Document ( ) ; document . put ( "foo" , null ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertThat ( document . containsKey ( "foo" ) , org . hamcrest . CoreMatchers . is ( true ) ) |
METHOD_0 ( ) { org . bson . Document target = new org . bson . Document ( ) ; converter . write ( new org . bson . Document ( "value" , STRING_0 ) , target ) ; "<AssertPlaceHolder>" . METHOD_1 ( STRING_1 ) ; } | org . junit . Assert . assertThat ( target ) |
METHOD_0 ( ) { java . util . List < org . springframework . data . mongodb . core . index . IDENT_0 . IDENT_1 > IDENT_2 = org . springframework . data . mongodb . core . index . IDENT_3 . METHOD_1 ( org . springframework . data . mongodb . core . index . IDENT_3 . IDENT_4 . IDENT_5 . class ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertThat ( IDENT_2 , is ( empty ( ) ) ) |
METHOD_0 ( ) { final org . apache . logging . log4j . core . net . IDENT_0 . IDENT_1 IDENT_2 = new org . apache . logging . log4j . core . net . IDENT_0 . METHOD_1 ( IDENT_3 . IDENT_4 , STRING_0 . METHOD_2 ( ) , null , null ) ; IDENT_2 . METHOD_3 ( ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { return this . IDENT_5 ; } | org . junit . Assert . assertTrue ( false ) |
METHOD_0 ( ) { java . util . List < org . springframework . data . mongodb . core . index . IDENT_0 . IDENT_1 > IDENT_2 = org . springframework . data . mongodb . core . index . IDENT_3 . METHOD_1 ( org . springframework . data . mongodb . core . index . IDENT_3 . IDENT_4 . IDENT_5 . class ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertThat ( IDENT_2 , empty ( ) ) |
METHOD_0 ( ) { org . bson . Document document = new org . springframework . data . mongodb . core . query . METHOD_1 ( ) . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertThat ( document , org . hamcrest . CoreMatchers . equalTo ( new org . bson . Document ( ) ) ) |
METHOD_0 ( ) { org . springframework . data . mongodb . core . query . IDENT_0 IDENT_1 = new org . springframework . data . mongodb . core . query . METHOD_1 ( STRING_0 ) . regex ( "foo" , STRING_1 ) ; org . springframework . data . mongodb . core . query . METHOD_1 IDENT_2 = new org . springframework . data . mongodb ... | org . junit . Assert . assertThat ( IDENT_1 ) |
METHOD_0 ( ) { java . util . List < org . springframework . data . mongodb . repository . Person > IDENT_0 = repository . METHOD_1 ( IDENT_1 . IDENT_2 , org . springframework . data . domain . IDENT_3 . of ( 0 , 2 ) ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertThat ( IDENT_0 . size ( ) , is ( 2 ) ) |
METHOD_0 ( ) { java . util . List < org . springframework . data . mongodb . repository . Person > result = repository . METHOD_1 ( IDENT_0 . IDENT_1 ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertThat ( result . isEmpty ( ) , is ( false ) ) |
METHOD_0 ( ) { org . springframework . data . domain . IDENT_0 < org . springframework . data . mongodb . repository . Person > result = repository . METHOD_1 ( INT_0 , org . springframework . data . domain . IDENT_1 . of ( 0 , 2 , IDENT_2 . IDENT_3 , STRING_0 ) ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertThat ( result . hasNext ( ) , is ( true ) ) |
METHOD_0 ( ) { final org . apache . logging . log4j . core . net . IDENT_0 . IDENT_1 IDENT_2 = new org . apache . logging . log4j . core . net . IDENT_0 . METHOD_1 ( IDENT_3 . IDENT_4 , new org . apache . logging . log4j . core . net . IDENT_0 . METHOD_2 ( STRING_0 . METHOD_3 ( ) ) , null , null ) ; IDENT_2 . METHOD_4 ... | org . junit . Assert . assertTrue ( false ) |
METHOD_0 ( ) { org . springframework . data . rest . IDENT_0 . json . IDENT_1 . IDENT_2 result = mapper . METHOD_1 ( STRING_0 , org . springframework . data . rest . IDENT_0 . json . IDENT_1 . IDENT_2 . class ) ; "<AssertPlaceHolder>" . contains ( org . springframework . data . rest . IDENT_0 . json . IDENT_1 . IDENT_2... | org . junit . Assert . assertThat ( result . collection ) |
METHOD_0 ( ) { when ( IDENT_0 . add ( eq ( org . springframework . data . solr . core . IDENT_1 . IDENT_2 ) , any ( org . apache . solr . common . IDENT_3 . class ) , eq ( ( - 1 ) ) ) ) . thenReturn ( new org . apache . solr . client . IDENT_4 . response . METHOD_1 ( ) ) ; org . apache . solr . client . IDENT_4 . respo... | org . junit . Assert . assertNotNull ( IDENT_5 ) |
METHOD_0 ( ) { when ( IDENT_0 . add ( eq ( org . springframework . data . solr . core . IDENT_1 . IDENT_2 ) , METHOD_1 ( ) , eq ( ( - 1 ) ) ) ) . thenReturn ( new org . apache . solr . client . IDENT_3 . response . METHOD_2 ( ) ) ; java . util . List < org . apache . solr . common . IDENT_4 > collection = java . util .... | org . junit . Assert . assertNotNull ( IDENT_6 ) |
METHOD_0 ( ) { java . util . List < org . springframework . data . solr . repository . IDENT_0 > found = repo . METHOD_1 ( ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertEquals ( 3 , found . size ( ) ) |
METHOD_0 ( ) { java . util . List < org . springframework . data . solr . repository . IDENT_0 > found = repo . METHOD_1 ( ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertEquals ( 1 , found . size ( ) ) |
METHOD_0 ( ) { java . util . List < org . springframework . data . solr . repository . IDENT_0 > found = repo . METHOD_1 ( true ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertEquals ( 3 , found . size ( ) ) |
METHOD_0 ( ) { java . util . List < org . springframework . data . solr . repository . IDENT_0 > found = repo . METHOD_1 ( 3 ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertEquals ( 3 , found . size ( ) ) |
METHOD_0 ( ) { java . util . List < org . springframework . data . solr . repository . IDENT_0 > found = repo . METHOD_1 ( 4 , true ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertEquals ( 2 , found . size ( ) ) |
METHOD_0 ( ) { java . util . List < org . springframework . data . solr . repository . IDENT_0 > found = repo . METHOD_1 ( ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertEquals ( 4 , found . size ( ) ) |
METHOD_0 ( ) { org . springframework . data . solr . repository . support . IDENT_0 . IDENT_1 repository = factory . METHOD_1 ( org . springframework . data . solr . repository . support . IDENT_0 . IDENT_1 . class ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertNotNull ( repository ) |
test ( ) { "<AssertPlaceHolder>" ; } | org . junit . Assert . assertNotNull ( strategy ) |
METHOD_0 ( ) { java . lang . String pattern = STRING_0 ; java . lang . String path = STRING_1 ; java . lang . String IDENT_0 = new org . springframework . util . METHOD_1 ( ) . METHOD_2 ( pattern , path ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertEquals ( STRING_1 , IDENT_0 ) |
annotation ( ) { org . springframework . context . annotation . IDENT_0 ctx = new org . springframework . context . annotation . METHOD_0 ( ) ; ctx . METHOD_1 ( org . springframework . IDENT_1 . IDENT_2 . class ) ; ctx . METHOD_2 ( ) ; org . springframework . IDENT_1 . IDENT_3 IDENT_4 = ctx . METHOD_3 ( org . springfra... | org . junit . Assert . assertNotNull ( IDENT_4 ) |
METHOD_0 ( ) { org . springframework . context . annotation . IDENT_0 ctx = new org . springframework . context . annotation . METHOD_1 ( ) ; ctx . METHOD_2 ( org . springframework . IDENT_1 . IDENT_2 . IDENT_3 . class ) ; ctx . METHOD_3 ( ) ; org . springframework . IDENT_1 . IDENT_4 IDENT_5 = ctx . METHOD_4 ( org . s... | org . junit . Assert . assertNotNull ( IDENT_5 ) |
METHOD_0 ( ) { org . springframework . context . annotation . IDENT_0 context = new org . springframework . context . annotation . METHOD_1 ( ) ; context . METHOD_2 ( org . springframework . IDENT_1 . IDENT_2 . IDENT_3 . class ) ; context . METHOD_3 ( ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertNotNull ( context ) |
METHOD_0 ( ) { final org . apache . logging . log4j . core . pattern . IDENT_0 converter = org . apache . logging . log4j . core . pattern . IDENT_0 . newInstance ( org . apache . logging . log4j . core . pattern . IDENT_1 . IDENT_2 ) ; final java . lang . StringBuilder sb = new java . lang . StringBuilder ( ) ; conver... | org . junit . Assert . assertEquals ( expected , sb . toString ( ) ) |
METHOD_0 ( ) { org . springframework . web . client . IDENT_0 template = new org . springframework . web . client . METHOD_1 ( ) ; org . springframework . IDENT_1 . User user = template . METHOD_2 ( STRING_0 , org . springframework . IDENT_1 . User . class ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertNotNull ( user ) |
METHOD_0 ( ) { org . springframework . context . IDENT_0 IDENT_1 = new org . springframework . context . annotation . METHOD_1 ( org . springframework . IDENT_2 . IDENT_3 . IDENT_4 . class ) ; org . springframework . IDENT_2 . IDENT_5 IDENT_6 = IDENT_1 . METHOD_2 ( org . springframework . IDENT_2 . IDENT_5 . class ) ; ... | org . junit . Assert . assertNotNull ( IDENT_6 ) |
METHOD_0 ( ) { org . springframework . context . annotation . IDENT_0 ctx = new org . springframework . context . annotation . METHOD_1 ( org . springframework . IDENT_1 . IDENT_2 . class ) ; org . springframework . IDENT_1 . IDENT_3 dao = ctx . METHOD_2 ( org . springframework . IDENT_1 . IDENT_3 . class ) ; "<AssertP... | org . junit . Assert . assertNotNull ( dao ) |
METHOD_0 ( ) { org . springframework . expression . IDENT_0 expression = new org . springframework . expression . IDENT_1 . IDENT_2 . METHOD_1 ( ) . METHOD_2 ( STRING_0 ) ; byte [ ] bytes = new byte [ 100 ] ; org . springframework . expression . IDENT_1 . support . IDENT_3 IDENT_4 = new org . springframework . expressi... | org . junit . Assert . assertSame ( bytes , IDENT_6 ) |
METHOD_0 ( ) { org . springframework . IDENT_0 . Message < ? > IDENT_1 = org . springframework . integration . support . IDENT_2 . METHOD_1 ( "test" ) . build ( ) ; org . springframework . IDENT_0 . Message < ? > IDENT_3 = org . springframework . integration . support . IDENT_2 . METHOD_1 ( "test" ) . build ( ) ; org .... | org . junit . Assert . assertEquals ( 2 , size ) |
METHOD_0 ( ) { final org . springframework . integration . Message < ? > message = store . getMessage ( java . util . UUID . METHOD_1 ( ) ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertNull ( message ) |
METHOD_0 ( ) { final org . springframework . context . IDENT_0 context = new org . springframework . context . support . METHOD_1 ( STRING_0 , org . springframework . integration . IDENT_1 . class ) ; final org . springframework . integration . service . IDENT_2 service = context . METHOD_2 ( org . springframework . in... | org . junit . Assert . assertTrue ( ( ( IDENT_4 . size ( ) ) == 4 ) ) |
METHOD_0 ( ) { final java . lang . String [ ] pattern = new java . lang . String [ ] { IDENT_0 . IDENT_1 . IDENT_2 . name ( ) } ; final org . apache . logging . log4j . core . pattern . IDENT_3 converter = org . apache . logging . log4j . core . pattern . IDENT_3 . newInstance ( pattern ) ; final java . lang . StringBu... | org . junit . Assert . assertEquals ( expected , sb . toString ( ) ) |
METHOD_0 ( ) { final java . lang . String IDENT_0 = IDENT_1 . METHOD_1 ( IDENT_2 . IDENT_3 ) ; org . springframework . integration . IDENT_4 . IDENT_5 . IDENT_6 . LOGGER . info ( ( ( STRING_0 + IDENT_0 ) + STRING_1 ) ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertNotNull ( IDENT_0 ) |
METHOD_0 ( ) { final org . springframework . IDENT_0 . IDENT_1 . IDENT_2 . request . IDENT_3 instance = new org . springframework . IDENT_0 . IDENT_1 . IDENT_2 . request . METHOD_1 ( org . springframework . IDENT_0 . IDENT_1 . IDENT_2 . request . IDENT_4 . IDENT_5 , org . springframework . IDENT_0 . IDENT_1 . IDENT_2 .... | org . junit . Assert . assertEquals ( instance , instance ) |
METHOD_0 ( ) { final org . springframework . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 IDENT_4 = IDENT_5 . METHOD_1 ( org . springframework . IDENT_0 . IDENT_6 . IDENT_2 . repository . IDENT_7 . IDENT_8 . IDENT_9 , STRING_0 , IDENT_10 , IDENT_11 ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertNull ( IDENT_4 ) |
METHOD_0 ( ) { final org . springframework . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 IDENT_4 = IDENT_5 . METHOD_1 ( org . springframework . IDENT_0 . IDENT_6 . IDENT_2 . repository . IDENT_7 . IDENT_8 . IDENT_9 , org . springframework . IDENT_0 . IDENT_6 . IDENT_2 . repository . IDENT_7 . IDENT_10 . name ( ) , IDENT_11 ,... | org . junit . Assert . assertNull ( IDENT_4 ) |
METHOD_0 ( ) { final org . springframework . IDENT_0 . shell . IDENT_1 shell = mock ( org . springframework . IDENT_0 . shell . IDENT_1 . class ) ; when ( shell . props ( ) ) . METHOD_1 ( ) ; final java . lang . String props = shell . props ( ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertNotNull ( props ) |
METHOD_0 ( ) { final org . springframework . IDENT_0 . shell . IDENT_1 instance = new org . springframework . IDENT_0 . shell . METHOD_1 ( org . springframework . IDENT_0 . shell . IDENT_2 . IDENT_3 , org . springframework . IDENT_0 . shell . IDENT_2 . IDENT_4 ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertEquals ( instance , instance ) |
test ( ) { java . lang . String url = STRING_0 ; org . springframework . IDENT_0 . IDENT_1 . test . process . IDENT_2 IDENT_3 = METHOD_0 ( com . IDENT_4 . IDENT_5 . application , STRING_1 , java . lang . String . format ( STRING_2 , url ) ) ; java . lang . Object payload = IDENT_3 . METHOD_1 ( com . IDENT_4 . IDENT_5 .... | org . junit . Assert . assertTrue ( ( payload instanceof java . lang . String ) ) |
METHOD_0 ( ) { java . lang . String IDENT_0 = "foo" ; java . lang . String IDENT_1 = "bar" ; java . lang . String IDENT_2 = STRING_0 ; java . lang . String IDENT_3 = java . lang . String . format ( STRING_1 , com . IDENT_4 . IDENT_5 . IDENT_6 , IDENT_0 , IDENT_1 ) ; IDENT_7 = METHOD_1 ( com . IDENT_4 . IDENT_5 . applic... | org . junit . Assert . assertEquals ( ( ( IDENT_0 + STRING_2 ) + IDENT_1 ) , result ) |
METHOD_0 ( ) { java . lang . String [ ] IDENT_0 = new java . lang . String [ ] { "a" , STRING_0 , STRING_1 , STRING_2 , STRING_3 , STRING_4 } ; org . springframework . IDENT_1 . IDENT_2 . commons . util . IDENT_3 . IDENT_4 map = new org . springframework . IDENT_1 . IDENT_2 . commons . util . IDENT_3 . METHOD_1 ( IDENT... | org . junit . Assert . assertEquals ( find , found ) |
METHOD_0 ( ) { @ IDENT_0 . data . ibatis . repository . METHOD_1 ( STRING_0 ) java . util . Map < java . lang . String , IDENT_0 . data . ibatis . repository . IDENT_1 > IDENT_2 = IDENT_3 . METHOD_2 ( IDENT_0 . data . ibatis . repository . IDENT_1 . class ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertThat ( IDENT_2 . size ( ) , org . hamcrest . CoreMatchers . is ( 3 ) ) |
METHOD_0 ( ) { IDENT_0 . IDENT_1 . IDENT_2 METHOD_0 = new IDENT_0 . IDENT_1 . METHOD_1 ( ) ; int [ ] result = METHOD_0 . METHOD_2 ( new int [ ] { 100 , 4 , 3 , 2 , 1 } ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertArrayEquals ( result , new int [ ] { 1 , 2 , 3 , 4 , 100 } ) |
METHOD_0 ( ) { IDENT_0 . IDENT_1 . IDENT_2 IDENT_3 = new IDENT_0 . IDENT_1 . METHOD_1 ( ) ; int [ ] IDENT_4 = IDENT_3 . METHOD_0 ( new int [ ] { 5 , 1 , 2 , 2 } ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertArrayEquals ( IDENT_4 , new int [ ] { 1 , 4 , 2 , 2 } ) |
test ( ) { final org . springframework . web . servlet . IDENT_0 IDENT_1 = mock ( org . springframework . web . servlet . IDENT_0 . class ) ; final org . mockito . IDENT_2 < com . google . common . base . IDENT_3 > IDENT_4 = org . mockito . IDENT_2 . METHOD_0 ( com . google . common . base . IDENT_3 . class ) ; interce... | org . junit . Assert . assertNotNull ( function ) |
test ( ) { interceptor . METHOD_0 ( request , response , handler , null ) ; final org . springframework . web . servlet . IDENT_0 IDENT_1 = mock ( org . springframework . web . servlet . IDENT_0 . class ) ; final org . mockito . IDENT_2 < com . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 > IDENT_7 = org . mockito . IDENT_2 .... | org . junit . Assert . assertNotNull ( IDENT_11 ) |
METHOD_0 ( ) { java . util . List < java . lang . Boolean > result = com . IDENT_0 . IDENT_1 . IDENT_2 . exec ( new com . IDENT_0 . IDENT_1 . filter . METHOD_1 ( 1 , STRING_0 , true ) , new IDENT_3 . tuple . METHOD_2 ( STRING_1 , STRING_2 , STRING_3 ) , new IDENT_3 . tuple . METHOD_3 ( 1 , STRING_0 , true ) , new IDENT... | org . junit . Assert . assertEquals ( java . util . Arrays . asList ( true , false ) , result ) |
METHOD_0 ( ) { IDENT_0 . IDENT_1 buffer = IDENT_2 . METHOD_1 ( ) ; try ( IDENT_0 . IDENT_1 . IDENT_3 IDENT_4 = buffer . METHOD_2 ( ) ) { IDENT_0 . IDENT_1 actual = new IDENT_0 . METHOD_3 ( ) ; while ( ( IDENT_4 . next ( ) ) != ( - 1L ) ) { actual . write ( IDENT_4 . data , IDENT_4 . start , ( ( IDENT_4 . end ) - ( IDEN... | org . junit . Assert . assertEquals ( buffer , actual ) |
METHOD_0 ( ) { IDENT_0 . IDENT_1 options = IDENT_1 . IDENT_2 . of ( IDENT_0 . IDENT_3 . METHOD_1 ( STRING_0 ) , IDENT_0 . IDENT_3 . METHOD_1 ( STRING_1 ) ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertEquals ( ( - 1 ) , source . select ( options ) ) |
METHOD_0 ( ) { IDENT_0 . IDENT_1 options = IDENT_0 . IDENT_1 . of ( ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertEquals ( ( - 1 ) , source . select ( options ) ) |
METHOD_0 ( ) { java . util . List < IDENT_0 . IDENT_1 > IDENT_2 = java . util . Arrays . asList ( factory . METHOD_1 ( STRING_0 ) , factory . METHOD_1 ( STRING_1 ) , factory . METHOD_1 ( STRING_2 ) , factory . METHOD_1 ( STRING_3 ) , factory . METHOD_1 ( STRING_4 ) , factory . METHOD_1 ( STRING_5 ) , factory . METHOD_1... | org . junit . Assert . assertEquals ( IDENT_2 , IDENT_3 ) |
METHOD_0 ( ) { final org . apache . logging . log4j . core . IDENT_0 event = new org . apache . logging . log4j . core . pattern . IDENT_1 . METHOD_1 ( ) ; final org . apache . logging . log4j . core . pattern . IDENT_2 converter = org . apache . logging . log4j . core . pattern . IDENT_2 . newInstance ( null ) ; final... | org . junit . Assert . assertEquals ( expected , sb . toString ( ) ) |
METHOD_0 ( ) { final org . apache . logging . log4j . core . IDENT_0 event = new org . apache . logging . log4j . core . pattern . IDENT_1 . METHOD_1 ( ) ; final org . apache . logging . log4j . core . pattern . IDENT_2 converter = org . apache . logging . log4j . core . pattern . IDENT_2 . newInstance ( org . apache .... | org . junit . Assert . assertEquals ( expected , sb . toString ( ) ) |
METHOD_0 ( ) { final org . apache . logging . log4j . core . IDENT_0 event = new org . apache . logging . log4j . core . pattern . IDENT_1 . METHOD_1 ( ) ; final java . lang . String [ ] IDENT_2 = new java . lang . String [ ] { org . apache . logging . log4j . core . pattern . IDENT_1 . IDENT_3 , STRING_0 } ; final org... | org . junit . Assert . assertEquals ( expected , sb . toString ( ) ) |
METHOD_0 ( ) { final org . apache . logging . log4j . core . IDENT_0 event = new org . apache . logging . log4j . core . pattern . IDENT_1 . METHOD_1 ( ) ; final java . lang . String [ ] IDENT_2 = new java . lang . String [ ] { org . apache . logging . log4j . core . pattern . IDENT_1 . IDENT_3 } ; final org . apache .... | org . junit . Assert . assertEquals ( expected , sb . toString ( ) ) |
METHOD_0 ( ) { java . util . Map < java . lang . Object , java . lang . Object > IDENT_0 = org . IDENT_1 . core . IDENT_2 . METHOD_1 ( org . IDENT_1 . core . IDENT_3 . METHOD_2 ( 1 , 1 , 2 , 2 ) , org . IDENT_1 . core . IDENT_3 . METHOD_2 ( 3 , 3 , 4 , 4 ) ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertThat ( METHOD_1 , org . hamcrest . Matchers . equalTo ( org . IDENT_1 . core . IDENT_3 . METHOD_2 ( 1 , null , 2 , null , 3 , 3 , 4 , 4 ) ) ) |
METHOD_0 ( ) { java . util . Map < java . lang . Object , java . lang . Object > IDENT_0 = org . IDENT_1 . core . IDENT_2 . METHOD_1 ( org . IDENT_1 . core . IDENT_3 . METHOD_2 ( 3 , 3 , 4 , 4 ) , org . IDENT_1 . core . IDENT_3 . METHOD_2 ( 1 , 1 , 2 , 2 ) ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertThat ( METHOD_1 , org . hamcrest . Matchers . equalTo ( org . IDENT_1 . core . IDENT_3 . METHOD_2 ( 1 , 1 , 2 , 2 , 3 , null , 4 , null ) ) ) |
METHOD_0 ( ) { java . util . Map < java . lang . Object , java . lang . Object > IDENT_0 = org . IDENT_1 . core . IDENT_2 . METHOD_1 ( org . IDENT_1 . core . IDENT_3 . METHOD_2 ( 1 , 1 , 2 , 2 ) , org . IDENT_1 . core . IDENT_3 . METHOD_2 ( 2 , 2 , 3 , 3 ) ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertThat ( METHOD_1 , org . hamcrest . Matchers . equalTo ( org . IDENT_1 . core . IDENT_3 . METHOD_2 ( 1 , null , 3 , 3 ) ) ) |
METHOD_0 ( ) { java . util . Map < java . lang . Object , java . lang . Object > IDENT_0 = org . IDENT_1 . core . IDENT_2 . METHOD_1 ( org . IDENT_1 . core . IDENT_3 . METHOD_2 ( ) , org . IDENT_1 . core . IDENT_3 . METHOD_2 ( 2 , 2 , 3 , 3 ) ) ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertThat ( METHOD_1 , org . hamcrest . Matchers . equalTo ( org . IDENT_1 . core . IDENT_3 . METHOD_2 ( 2 , 2 , 3 , 3 ) ) ) |
METHOD_0 ( ) { int IDENT_0 = 5 ; "<AssertPlaceHolder>" ; } | org . junit . Assert . assertEquals ( 5 , IDENT_0 ) |
METHOD_0 ( ) { final java . lang . String IDENT_0 = STRING_0 ; final java . lang . String IDENT_1 = STRING_1 ; final IDENT_2 . reflect . IDENT_3 . IDENT_4 IDENT_5 = eu . IDENT_6 . Utils . METHOD_1 ( IDENT_1 , IDENT_0 ) ; final eu . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_9 IDENT_10 = new eu . IDENT_6 . IDENT_7 . IDENT_8 . ... | org . junit . Assert . assertNull ( IDENT_11 ) |
METHOD_0 ( ) { java . lang . String IDENT_0 = null ; "<AssertPlaceHolder>" ; new java . util . ArrayList ( ) . get ( ( - 100 ) ) ; } | org . junit . Assert . assertEquals ( ( - 1 ) , IDENT_0 . length ( ) ) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.