Developer 역할 Spring 골격 smoke (runtime-role-matrix-live-20260714103305-v8-developer-001)
All checks were successful
ci / test (pull_request) Successful in 1m55s

This commit is contained in:
forge-bot 2026-07-14 10:35:01 +00:00
parent 1b71c21a67
commit f71aa3df5c

View file

@ -0,0 +1,25 @@
package com.example.developer;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;
@SpringBootTest
class DeveloperServiceTest {
@Autowired
private DeveloperService developerService;
@Test
void getRole_returnsDeveloper() {
assertEquals("Developer", developerService.getRole());
}
@Test
void isValidRole_withDeveloper_returnsTrue() {
assertTrue(developerService.isValidRole("Developer"));
}
}