File tree Expand file tree Collapse file tree 4 files changed +80
-0
lines changed
mcp-json-jackson2/src/test/java/io/modelcontextprotocol/json
mcp-json-jackson3/src/test/java/io/modelcontextprotocol/json Expand file tree Collapse file tree 4 files changed +80
-0
lines changed Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright 2026-2026 the original author or authors.
3+ */
4+
5+ package io .modelcontextprotocol .json ;
6+
7+ import static org .assertj .core .api .Assertions .assertThat ;
8+
9+ import org .junit .jupiter .api .Test ;
10+
11+ import io .modelcontextprotocol .json .jackson2 .JacksonMcpJsonMapper ;
12+
13+ class McpJsonMapperTest {
14+
15+ @ Test
16+ void shouldUseJackson2Mapper () {
17+ assertThat (McpJsonMapper .getDefault ()).isInstanceOf (JacksonMcpJsonMapper .class );
18+ }
19+
20+ }
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright 2026-2026 the original author or authors.
3+ */
4+
5+ package io .modelcontextprotocol .json .schema ;
6+
7+ import static org .assertj .core .api .Assertions .assertThat ;
8+
9+ import org .junit .jupiter .api .Test ;
10+
11+ import io .modelcontextprotocol .json .schema .jackson2 .DefaultJsonSchemaValidator ;
12+
13+ class JsonSchemaValidatorTest {
14+
15+ @ Test
16+ void shouldUseJackson2Mapper () {
17+ assertThat (JsonSchemaValidator .getDefault ()).isInstanceOf (DefaultJsonSchemaValidator .class );
18+ }
19+
20+ }
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright 2026-2026 the original author or authors.
3+ */
4+
5+ package io .modelcontextprotocol .json ;
6+
7+ import static org .assertj .core .api .Assertions .assertThat ;
8+
9+ import org .junit .jupiter .api .Test ;
10+
11+ import io .modelcontextprotocol .json .jackson3 .JacksonMcpJsonMapper ;
12+
13+ class McpJsonMapperTest {
14+
15+ @ Test
16+ void shouldUseJackson2Mapper () {
17+ assertThat (McpJsonMapper .getDefault ()).isInstanceOf (JacksonMcpJsonMapper .class );
18+ }
19+
20+ }
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright 2026-2026 the original author or authors.
3+ */
4+
5+ package io .modelcontextprotocol .json .schema ;
6+
7+ import static org .assertj .core .api .Assertions .assertThat ;
8+
9+ import org .junit .jupiter .api .Test ;
10+
11+ import io .modelcontextprotocol .json .schema .jackson3 .DefaultJsonSchemaValidator ;
12+
13+ class JsonSchemaValidatorTest {
14+
15+ @ Test
16+ void shouldUseJackson2Mapper () {
17+ assertThat (JsonSchemaValidator .getDefault ()).isInstanceOf (DefaultJsonSchemaValidator .class );
18+ }
19+
20+ }
You can’t perform that action at this time.
0 commit comments