()
| 103 | } |
| 104 | |
| 105 | @Test |
| 106 | public void discard_noBase() { |
| 107 | Attributes.Builder attrs = Attributes.newBuilder().set(YOLO_KEY, "value"); |
| 108 | |
| 109 | Attributes newAttrs = attrs.discard(YOLO_KEY).build(); |
| 110 | assertNull(newAttrs.get(YOLO_KEY)); |
| 111 | assertThat(newAttrs.keysForTest()).doesNotContain(YOLO_KEY); |
| 112 | } |
| 113 | |
| 114 | @Test |
| 115 | public void discard_baseAttributesAndBuilder() { |
nothing calls this directly
no test coverage detected