Package mungbean

Examples of mungbean.Mungbean


@RunWith(JDaveRunner.class)
public class GridFsStorageIntegrationTest extends Specification<GridFsStorage> {
    public class WithStorage {

        public GridFsStorage create() {
            return new Mungbean(new Settings(), new Server("localhost", 27017)).openDatabase(new ObjectId().toHex()).openStorage("foobar");
        }
View Full Code Here


@RunWith(JDaveRunner.class)
public class PojoWithIdIntegrationTest extends Specification<Database> {
    public class WithDatabase {
        public Database create() {
            return new Mungbean(new Settings(), "localhost", 27017).openDatabase(new ObjectId().toHex());
        }
View Full Code Here

@RunWith(JDaveRunner.class)
public class PojoIntegrationTest extends Specification<Database> {
    public class WithDatabase {
        public Database create() {
            return new Mungbean(new Settings(), "localhost", 27017).openDatabase(new ObjectId().toHex());
        }
View Full Code Here

TOP

Related Classes of mungbean.Mungbean

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.