private DynamicMockManager mockManager;
@Test
public void mixedMocksWithInjection1()
{
SessionScopedBean mockedSessionScopedBean = mock(SessionScopedBean.class);
when(mockedSessionScopedBean.getCount()).thenReturn(7);
mockManager.addMock(mockedSessionScopedBean);
RequestScopedBean mockedRequestScopedBean = new MockedRequestScopedBeanWithInjection();
BeanProvider.injectFields(mockedRequestScopedBean);
mockManager.addMock(mockedRequestScopedBean);