Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/cedar-policy/cedar-java
/ test_as_ref
Function
test_as_ref
CedarJavaFFI/src/jset.rs:80–86 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
78
79
#[test]
80
fn test_as_ref() {
81
let mut env = JVM.attach_current_thread().unwrap();
82
let set = Set::<JString>::new(&mut env).unwrap();
83
let jobject = set.as_ref();
84
85
assert!(!jobject.is_null());
86
}
87
}
Callers
nothing calls this directly
Calls
1
as_ref
Method · 0.45
Tested by
no test coverage detected