	@Test
	void testFilter() throws IOException {


		// create the objects to be mocked
		
		ContainerRequestContext requestContext = mock(ContainerRequestContext.class);
		ContainerResponseContext responseContext = mock(ContainerResponseContext.class);

		MultivaluedMap<String, Object> headers = new MultivaluedHashMap<>();
		when(responseContext.getHeaders()).thenReturn(headers);

		CORSFilter corsFilter = new CORSFilter();
		corsFilter.filter(requestContext, responseContext);

		assertEquals("*", headers.get("Access-Control-Allow-Origin").get(0));
		assertEquals("GET, POST, PUT, DELETE, OPTIONS", headers.get("Access-Control-Allow-Methods").get(0));
		

	}