### Question:
OAuth2FetcherConfig { public OAuth2Store getOAuth2Store() { return this.tokenStore.getOAuth2Store(); } @Inject  OAuth2FetcherConfig(final GadgetOAuth2TokenStore tokenStore,
          @Named("shindig.oauth2.viewer-access-tokens-enabled")
          final boolean viewerAccessTokensEnabled); OAuth2Store getOAuth2Store(); GadgetOAuth2TokenStore getTokenStore(); boolean isViewerAccessTokensEnabled(); static final String OAUTH2_STATE_CRYPTER; }### Answer:
@Test public void testGetOAuth2Store_1() throws Exception { final OAuth2FetcherConfig fixture = new OAuth2FetcherConfig(new GadgetOAuth2TokenStore( EasyMock.createNiceMock(OAuth2Store.class), EasyMock.createNiceMock(GadgetSpecFactory.class)), true); final OAuth2Store result = fixture.getOAuth2Store(); Assert.assertNotNull(result); Assert.assertEquals(false, result.clearCache()); }