()
| 373 | } |
| 374 | |
| 375 | @Test |
| 376 | public void invalidKeyName() { |
| 377 | try { |
| 378 | Metadata.Key.of("io.grpc/key1", Metadata.ASCII_STRING_MARSHALLER); |
| 379 | fail("Should have thrown"); |
| 380 | } catch (IllegalArgumentException e) { |
| 381 | assertEquals("Invalid character '/' in key name 'io.grpc/key1'", e.getMessage()); |
| 382 | } |
| 383 | } |
| 384 | |
| 385 | @Test |
| 386 | public void streamedValue() { |
nothing calls this directly
no test coverage detected