DBCollection function ( String arg0 ) { DBCollection loc0 = collections . get ( arg0 ) ; return loc0 != null ? loc0 : defaultCollection ; }
returns the collection with a given name . this is a mockito mock object , so verifications can be performed on it . concode_field_sep Map<String,DBCollection> collections concode_elem_sep Map<String,DBCollection> collections concode_elem_sep DBCollection defaultCollection concode_elem_sep MongoClient client concode_field_sep MockMongoClient build concode_elem_sep MockMongoClientBuilderContext insert concode_elem_sep MongoClient getClient concode_elem_sep MockMongoClientBuilderContext mockClient