GuiceApplicationConfigTest.java :  » UnTagged » context-aware-meeting-room » ac » uk » brunel » client » contextaware » config » Android Open Source

Android Open Source » UnTagged » context aware meeting room 
context aware meeting room » ac » uk » brunel » client » contextaware » config » GuiceApplicationConfigTest.java
package ac.uk.brunel.client.contextaware.config;

import com.google.inject.Guice;
import com.google.inject.Injector;
import org.junit.Before;
import org.junit.Test;

import static org.junit.Assert.assertFalse;

/**
 * User: Jarle Hansen (hansjar@gmail.com)
 * Date: Feb 16, 2010
 * Time: 8:00:46 PM
 */
public class GuiceApplicationConfigTest {
    private Injector injector;

    @Before
    public void setup() {
        injector = Guice.createInjector(new ServerAppModule());
    }

    @Test
    public void testGuiceConfig() {
        assertFalse(injector == null);
    }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.