// Path: src/main/java/org/yadi/core/DefaultContainer.java
// public static Container create(Consumer<Container> builder) {
//     DefaultContainer defaultContainer = new DefaultContainer(builder);
//     defaultContainer.init();
//     return defaultContainer;
// }


import org.junit.Test;
import java.util.function.Supplier;
import static org.junit.Assert.assertNotNull;
import static org.yadi.core.DefaultContainer.create;
package org.yadi.core;




/**
 * Created by julian3 on 2014/05/03.
 */
public class DefaultContainerTest {


    @Test
    public void testCreate() throws Exception {

// Path: src/main/java/org/yadi/core/DefaultContainer.java
// public static Container create(Consumer<Container> builder) {
//     DefaultContainer defaultContainer = new DefaultContainer(builder);
//     defaultContainer.init();
//     return defaultContainer;
// }


// Path: src/test/java/org/yadi/core/DefaultContainerTest.java
import org.junit.Test;
import java.util.function.Supplier;
import static org.junit.Assert.assertNotNull;
import static org.yadi.core.DefaultContainer.create;

package org.yadi.core;




/**
 * Created by julian3 on 2014/05/03.
 */
public class DefaultContainerTest {


    @Test
    public void testCreate() throws Exception {

        Container container = create((builder) -> {