private DynamicMockManager mockManager;
@Test
public void mockitoMock1()
{
RequestScopedBean mockedRequestScopedBean = mock(RequestScopedBean.class);
when(mockedRequestScopedBean.getCount()).thenReturn(7);
mockManager.addMock(mockedRequestScopedBean);
Assert.assertEquals(7, requestScopedBean.getCount());
requestScopedBean.increaseCount();
Assert.assertEquals(7, requestScopedBean.getCount());