forked from kimhyungsik/ax_hub_mcp_tool
This commit is contained in:
@@ -1,24 +0,0 @@
|
||||
package io.shinhanlife.dat.mcc.biz.agt.usecase.impl;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
import static org.junit.jupiter.api.Assertions.assertFalse;
|
||||
|
||||
import io.shinhanlife.dat.mcc.biz.agt.dto.AgentToolRequest;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
class AgentInquiryUseCaseImplTest {
|
||||
|
||||
@Test
|
||||
void returnsAgentProductionForRequestedAgent() {
|
||||
AgentToolRequest request = new AgentToolRequest();
|
||||
request.setAgentId("AGT-123456");
|
||||
request.setQueryDate("2026-08-14");
|
||||
|
||||
var response = new AgentPerformanceUseCaseImpl().getProductionSummary(request);
|
||||
|
||||
assertEquals("agt_production_summary", response.getToolName());
|
||||
assertEquals("AGT-123456", response.getReferenceId());
|
||||
assertEquals("정상", response.getStatus());
|
||||
assertFalse(response.getDetails().isEmpty());
|
||||
}
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
package io.shinhanlife.dat.mcc.biz.pro.usecase;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertNotNull;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
class PersonalCustomerDetailInquiryUseCaseTest {
|
||||
|
||||
@Test
|
||||
void createsToolRequestAndResponseDtos() {
|
||||
assertNotNull(new PersonalCustomerDetailInquiryRequest());
|
||||
assertNotNull(new PersonalCustomerDetailInquiryResponse());
|
||||
}
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
package io.shinhanlife.dat.mcc.biz.pro.usecase.impl;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
import static org.junit.jupiter.api.Assertions.assertFalse;
|
||||
|
||||
import io.shinhanlife.dat.mcc.biz.pro.dto.ProductToolRequest;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
class ProductInquiryUseCaseImplTest {
|
||||
|
||||
@Test
|
||||
void returnsContractDetailForRequestedCustomer() {
|
||||
ProductToolRequest request = new ProductToolRequest();
|
||||
request.setSubjectId("CUST-123456");
|
||||
request.setQueryDate("2026-08-14");
|
||||
|
||||
var response = new ContractInquiryUseCaseImpl().getContractDetail(request);
|
||||
|
||||
assertEquals("pro_contract_detail", response.getToolName());
|
||||
assertEquals("CUST-123456", response.getReferenceId());
|
||||
assertEquals("정상", response.getStatus());
|
||||
assertFalse(response.getDetails().isEmpty());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user