test_class.declarator: mMockContext
test_class.modifier: @Mock
test_class.original_string: @Mock
      Context mMockContext;
test_class.type: Context
test_class.var_name: mMockContext
test_class.declarator: mMockedResources
test_class.modifier: @Mock
test_class.original_string: @Mock
      Resources mMockedResources;
test_class.type: Resources
test_class.var_name: mMockedResources
test_class.declarator: mScreenInfoProvider
test_class.original_string: IScreenInfoProvider mScreenInfoProvider;
test_class.type: IScreenInfoProvider
test_class.var_name: mScreenInfoProvider
test_class.declarator: mDisplayMetrics
test_class.original_string: DisplayMetrics mDisplayMetrics;
test_class.type: DisplayMetrics
test_class.var_name: mDisplayMetrics
test_class.file: coachmarks/src/test/java/com/myntra/coachmarks/providers/DefaultScreenInfoProviderTest.java
test_class.identifier: DefaultScreenInfoProviderTest
test_case.body: @Test
      public void getScreenHeightInPixelsTest() throws Exception {
          when(mMockContext.getResources()).thenReturn(mMockedResources);
          when(mMockedResources.getDisplayMetrics()).thenReturn(mDisplayMetrics);
          assert (mScreenInfoProvider.getScreenHeightInPixels() == mDisplayMetrics.heightPixels);
          verify(mMockContext, times(1)).getResources();
          verify(mMockedResources, times(1)).getDisplayMetrics();
          verifyNoMoreInteractions(mMockContext);
          verifyNoMoreInteractions(mMockedResources);
      }
test_case.class_method_signature: DefaultScreenInfoProviderTest.getScreenHeightInPixelsTest()
test_case.full_signature: @Test public void getScreenHeightInPixelsTest()
test_case.identifier: getScreenHeightInPixelsTest
test_case.invocations: thenReturn when getResources thenReturn when getDisplayMetrics getScreenHeightInPixels getResources verify times getDisplayMetrics verify times verifyNoMoreInteractions verifyNoMoreInteractions
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void getScreenHeightInPixelsTest()
focal_class.declarator: mContext
focal_class.modifier: private final
focal_class.original_string: private final Context mContext;
focal_class.type: Context
focal_class.var_name: mContext
focal_class.file: coachmarks/src/main/java/com/myntra/coachmarks/providers/DefaultScreenInfoProvider.java
focal_class.identifier: DefaultScreenInfoProvider
focal_class.interfaces: implements IScreenInfoProvider
focal_class.class_method_signature: DefaultScreenInfoProvider.DefaultScreenInfoProvider(final Context context)
focal_class.full_signature: public  DefaultScreenInfoProvider(final Context context)
focal_class.identifier: DefaultScreenInfoProvider
focal_class.modifiers: public
focal_class.parameters: (final Context context)
focal_class.signature:  DefaultScreenInfoProvider(final Context context)
focal_class.class_method_signature: DefaultScreenInfoProvider.getScreenHeightInPixels()
focal_class.full_signature: @Override public int getScreenHeightInPixels()
focal_class.identifier: getScreenHeightInPixels
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getScreenHeightInPixels()
focal_class.class_method_signature: DefaultScreenInfoProvider.getScreenWidthInPixels()
focal_class.full_signature: @Override public int getScreenWidthInPixels()
focal_class.identifier: getScreenWidthInPixels
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getScreenWidthInPixels()
focal_method.body: @Override
      public int getScreenHeightInPixels() {
          DisplayMetrics displayMetrics = mContext.getResources().getDisplayMetrics();
          return displayMetrics.heightPixels;
      }
focal_method.class_method_signature: DefaultScreenInfoProvider.getScreenHeightInPixels()
focal_method.full_signature: @Override public int getScreenHeightInPixels()
focal_method.identifier: getScreenHeightInPixels
focal_method.invocations: getDisplayMetrics getResources
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: int
focal_method.signature: int getScreenHeightInPixels()