    @Test(expected = IllegalStateException.class)
    public void getActivity_whenContextIsNotActivity_shouldThrowException() {

        final ContextThemeWrapper wrapper = new ContextThemeWrapper(RuntimeEnvironment.application, 0);

        UberButton uberButton = new UberButton(wrapper, null, 0, 0) { };

        uberButton.getActivity();
    }