Package com.netflix.governator.guice.modules

Examples of com.netflix.governator.guice.modules.ObjectB


    {
        Injector    injector = lifecycleInjectorBuilder
            .usingBasePackages("com.netflix.governator.guice.modules")
            .createInjector();
        ObjectA objectA = injector.getInstance(ObjectA.class);
        ObjectB objectB = injector.getInstance(ObjectB.class);

        Assert.assertEquals(objectA.getColor(), "blue");
        Assert.assertEquals(objectB.getSize(), "large");
    }
View Full Code Here

TOP

Related Classes of com.netflix.governator.guice.modules.ObjectB

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.