GuidedTourServiceEnvelope implements GuidedTourService { @Override public boolean isEnabled() { return getNativeEnvelope().isEnabled(); }  @Override void refresh(final UserInteraction userInteraction); @Override void registerTutorial(final Tutorial tutorial); @Override boolean isEnabled();  }
@Test public void testIsEnabledWhenItReturnsTrue() { when(nativeEnvelope.isEnabled()).thenReturn(true); assertTrue(envelope.isEnabled()); }
@Test public void testIsEnabledWhenItReturnsFalse() { when(nativeEnvelope.isEnabled()).thenReturn(false); assertFalse(envelope.isEnabled()); }