### Question:
NimbleFrameLayout extends FrameLayout implements NimbleView { public Activity getActivity() { return ViewHelper.getInstance().getActivity(getContext()); } NimbleFrameLayout(Context context);  NimbleFrameLayout(Context context, AttributeSet attrs);  NimbleFrameLayout(Context context, AttributeSet attrs, int defStyleAttr); Activity getActivity();  }### Answer:
@Test public void testGetActivity() throws Exception { Activity activity = layout.getActivity(); Assert.assertNotNull(activity); }