()
| 129 | } |
| 130 | |
| 131 | @Test(expected = IllegalArgumentException.class) |
| 132 | public void invalidMetric() throws Exception { |
| 133 | Metric invalidMetric = Metric.Builder().build(); |
| 134 | Query query = getDefaultQueryBuilder() |
| 135 | .setMetrics(Arrays.asList(invalidMetric)).build(); |
| 136 | query.validate(); |
| 137 | } |
| 138 | |
| 139 | @Test(expected = IllegalArgumentException.class) |
| 140 | public void invalidFilter() throws Exception { |
nothing calls this directly
no test coverage detected