mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-22 23:11:52 +08:00
refactor: deserialize
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user