### Question:
OAuth2Session { static OAuth2Session stateNew(final TimeService time) { return new OAuth2Session(time, null, null, null, Collections.<String> emptyList(), new JsonValue(emptyMap()), null, null); } private  OAuth2Session(final TimeService time, final String clientRegistrationName,
            final String clientEndpoint, final String authorizationRequestNonce,
            final List<String> scopes, final JsonValue accessTokenResponse,
            final SignedJwt idToken, final Long expiresAt);   }### Answer:
@Test public void testStateNew() { OAuth2Session session = OAuth2Session.stateNew(time); assertThat(session.getAccessToken()).isNull(); assertThat(session.getAccessTokenResponse()).isEmpty(); assertThat(session.getAuthorizationRequestNonce()).isNull(); assertThat(session.getClientEndpoint()).isNull(); assertThat(session.getExpiresIn()).isNull(); assertThat(session.getIdToken()).isNull(); assertThat(session.getClientRegistrationName()).isNull(); assertThat(session.getRefreshToken()).isNull(); assertThat(session.getScopes()).isEmpty(); assertThat(session.getTokenType()).isNull(); assertThat(session.isAuthorized()).isFalse(); assertThat(session.isAuthorizing()).isFalse(); assertThat(session.toJson().asMap()).isEmpty(); }