인증/권한 저위험 파일 Spring 전환 스파이크 #7

Open
forge-bot wants to merge 9 commits from forge/BAIS-SPRING-DEV-AUTH-001-attempt-1 into main
Showing only changes of commit 4fe6a50b65 - Show all commits

View file

@ -0,0 +1,17 @@
package com.example.authorization;
import org.junit.jupiter.api.Test;
import static org.mockito.Mockito.*;
class Maz02f116rServiceTest {
@Test
void testAuthorize() {
Maz02f116rService service = new Maz02f116rService();
Maz02f116rDto dto = new Maz02f116rDto();
dto.setRole("admin");
dto.setPermissions("read, write");
service.authorize(dto);
// Add assertions here
}
}