@BeforeEach
        void setup() {
            mvc = MockMvcBuilders
                .webAppContextSetup(applicationContext)
                .defaultRequest(get("/")
                    .contextPath("/cas")
                    .accept(MediaType.APPLICATION_JSON, MediaType.TEXT_PLAIN)
                    .contentType(MediaType.APPLICATION_JSON))
                .build();
        }
This class tests the {@link OAuth20AccessTokenEndpointController} class.

@author Jerome Leleu
@since 3.5.2
support/cas-server-support-oauth/src/test/java/org/apereo/cas/support/oauth/web/endpoints/OAuth20AccessTokenEndpointControllerTests.java