refactor: deserialize

This commit is contained in:
ReaJason
2024-12-14 19:34:06 +08:00
parent 9ed876297a
commit 6bdc47a7d5
11 changed files with 206 additions and 47 deletions
@@ -0,0 +1,21 @@
package com.reajason.javaweb.boot.controller;
import org.junit.jupiter.api.Test;
import org.springframework.http.ResponseEntity;
import static org.junit.jupiter.api.Assertions.assertNotNull;
/**
* @author ReaJason
* @since 2024/12/13
*/
class ConfigControllerTest {
@Test
void getConfig() {
ConfigController configController = new ConfigController();
ResponseEntity<?> config = configController.config();
Object body = config.getBody();
assertNotNull(body);
System.out.println(body);
}
}