Everest/test/com/rohitawate/everest/auth/DigestAuthProviderTest.java
2018-08-31 15:37:05 +05:30

14 lines
No EOL
387 B
Java

package com.rohitawate.everest.auth;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
class DigestAuthProviderTest {
@Test
void getAuthHeader() {
DigestAuthProvider provider = new DigestAuthProvider("https://jigsaw.w3.org/HTTP/Digest/", "GET", "guest", "guest", false);
System.out.println(provider.getAuthHeader());
}
}