Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/grpc/grpc-java
/ toString_nullValue
Method
toString_nullValue
api/src/test/java/io/grpc/StatusOrTest.java:71–74 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
69
}
70
71
@Test
72
public
void
toString_nullValue() {
73
assertThat(StatusOr.fromValue(null).toString()).isEqualTo(
"StatusOr{value=null}"
);
74
}
75
76
@Test
77
public
void
toString_errorStatus() {
Callers
nothing calls this directly
Calls
2
fromValue
Method · 0.95
toString
Method · 0.45
Tested by
no test coverage detected