File size: 355 Bytes
c7b3de4
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
package com.tests;
import com.security.AuthService;

public class SecurityTest {
    public void testLogin() {
        AuthService auth = new AuthService();
        // This line causes a "method has private access" compiler error
        if (auth.validateToken("lint-ai-2026")) {
            System.out.println("Test Passed");
        }
    }
}