@Test
public void anyOrigin() {
final CorsConfig cors = withAnyOrigin().build();
assertThat(cors.isAnyOriginSupported(), is(true));
assertThat(cors.origin(), is("*"));
assertThat(cors.origins().isEmpty(), is(true));
}
@Test
public void wildcardOrigin() {
final CorsConfig cors = withOrigin("*").build();