We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eeae3ea commit 4b93c54Copy full SHA for 4b93c54
1 file changed
src/test/java/com/securenative/context/SecureNativeContextBuilderTest.java
@@ -83,13 +83,13 @@ public void createDefaultContextBuilderTest() {
83
public void createCustomContextWithContextBuilderTest() {
84
SecureNativeContext context = SecureNativeContextBuilder
85
.defaultContextBuilder()
86
- .url("/some-url")
87
- .clientToken("SECRET_TOKEN")
88
- .ip("10.0.0.0")
89
- .body("{ \"name\": \"YOUR_NAME\" }")
90
- .method("Get")
91
- .remoteIp("10.0.0.1")
92
- .headers(Maps.defaultBuilder()
+ .withUrl("/some-url")
+ .withClientToken("SECRET_TOKEN")
+ .withIp("10.0.0.0")
+ .withBody("{ \"name\": \"YOUR_NAME\" }")
+ .withMethod("Get")
+ .withRemoteIp("10.0.0.1")
+ .withHeaders(Maps.defaultBuilder()
93
.put("header1", "value1")
94
.build())
95
.build();
0 commit comments