Directives implements Streamable<Directive>, Serializable { public int size() { return directives.size(); } Directives(Iterable<Directive> directives);  Directives(); boolean hasDirective(String key); String get(String key); Directive getAsDirective(String key); int size(); Iterator<Directive> iterator(); @Override String toString(); Directives add(Directive directive);  }
@Test public void testNoDirectives() { Directives dir = new Directives(); assertEquals(0, dir.size()); }