// Path: src/test/java/com/woinject/stubs/StubSession.java
// public class StubSession extends ERXSession {
//     @Inject
//     @Named("test")
//     private String injectedText;
// 
//     @Override
//     public String toString() {
//         return injectedText;
//     }
// }


import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
import java.lang.annotation.Annotation;
import java.util.Map;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.runners.MockitoJUnitRunner;
import com.google.inject.Guice;
import com.google.inject.Injector;
import com.google.inject.Key;
import com.google.inject.ProvisionException;
import com.google.inject.Scope;
import com.webobjects.appserver.WOContext;
import com.webobjects.appserver.WOSession;
import com.woinject.stubs.StubSession;
import er.extensions.appserver.ERXSession;
import er.extensions.appserver.ERXWOContext;
/**
 * Copyright (C) 2010 hprange <hprange@gmail.com>
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package com.woinject;






/**
 * @author <a href="mailto:hprange@gmail.com">Henrique Prange</a>
 */
@RunWith(MockitoJUnitRunner.class)
public class TestWOInjectModule {
    private Injector injector;

    @Mock
    private WOContext mockContext;

    @Mock
// Path: src/test/java/com/woinject/stubs/StubSession.java
// public class StubSession extends ERXSession {
//     @Inject
//     @Named("test")
//     private String injectedText;
// 
//     @Override
//     public String toString() {
//         return injectedText;
//     }
// }


// Path: src/test/java/com/woinject/TestWOInjectModule.java
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
import java.lang.annotation.Annotation;
import java.util.Map;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.runners.MockitoJUnitRunner;
import com.google.inject.Guice;
import com.google.inject.Injector;
import com.google.inject.Key;
import com.google.inject.ProvisionException;
import com.google.inject.Scope;
import com.webobjects.appserver.WOContext;
import com.webobjects.appserver.WOSession;
import com.woinject.stubs.StubSession;
import er.extensions.appserver.ERXSession;
import er.extensions.appserver.ERXWOContext;

/**
 * Copyright (C) 2010 hprange <hprange@gmail.com>
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package com.woinject;






/**
 * @author <a href="mailto:hprange@gmail.com">Henrique Prange</a>
 */
@RunWith(MockitoJUnitRunner.class)
public class TestWOInjectModule {
    private Injector injector;

    @Mock
    private WOContext mockContext;

    @Mock
    private StubSession mockSession;