Package com.mongodb

Examples of com.mongodb.DBCollectionDummy


    private DBCollection getMeACollection() {
        Mongo mongo = mock(Mongo.class);
        DB db = new DBDummy(mongo, "my_super_collection");

        DBCollection col = new DBCollectionDummy(db, "hello");
        return col;
    }
View Full Code Here

TOP

Related Classes of com.mongodb.DBCollectionDummy

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.