@Test public void to_string() { final LiteralGroupExpression expr = new LiteralGroupExpression(resolver); when(resolver.toString()).thenReturn("foobar"); assertThat(expr.toString(), containsString("foobar")); }
@Override public String toString() { return "LiteralGroupExpression{" + name_ + '}'; }
LiteralGroupExpression implements GroupExpression { @Override public String toString() { return "LiteralGroupExpression{" + name_ + '}'; } }
LiteralGroupExpression implements GroupExpression { @Override public String toString() { return "LiteralGroupExpression{" + name_ + '}'; } LiteralGroupExpression(NameResolver name); }
LiteralGroupExpression implements GroupExpression { @Override public String toString() { return "LiteralGroupExpression{" + name_ + '}'; } LiteralGroupExpression(NameResolver name); NameResolver getName(); @Override PathMatcher getPathMatcher(); @Override StringBuilder configString(); @Override String toString(); @Override TimeSeriesValueSet getTSDelta(Context ctx); @Override int hashCode(); @Override boolean equals(Object obj); }
LiteralGroupExpression implements GroupExpression { @Override public String toString() { return "LiteralGroupExpression{" + name_ + '}'; } LiteralGroupExpression(NameResolver name); NameResolver getName(); @Override PathMatcher getPathMatcher(); @Override StringBuilder configString(); @Override String toString(); @Override TimeSeriesValueSet getTSDelta(Context ctx); @Override int hashCode(); @Override boolean equals(Object obj);  }