MCPcopy Create free account
hub / github.com/cedar-policy/cedar-java / assert_validation_success

Function assert_validation_success

CedarJavaFFI/src/tests.rs:58–61  ·  view source on GitHub ↗
(result: &str)

Source from the content-addressed store, hash-verified

56
57#[track_caller]
58fn assert_validation_success(result: &str) {
59 let result: ValidationAnswer = serde_json::from_str(result).unwrap();
60 assert_matches!(result, ValidationAnswer::Success { .. });
61}
62
63#[test]
64fn unrecognized_call_fails() {

Calls

no outgoing calls

Tested by

no test coverage detected