SimpleViolation implements Violation { public static Builder builder() { return new Builder(null); } SimpleViolation(final Severity severity, final String description, final PackageId... packages);  SimpleViolation(final Severity severity, final String description, final List<PackageId> packages); static Builder builder(); static Builder builder(final ResourceBundle resourceBundle); @Override Severity getSeverity(); @Override Collection<PackageId> getPackages(); @Override String getDescription(); static SimpleViolation fromReported(final Violation violation); static SimpleViolation fromJson(final JsonObject jsonViolation); @Override String toString(); @Override boolean equals(final Object o); @Override int hashCode();  }
@Test public void builder_testFactory() { assertNotNull("expect instance of builder", SimpleViolation.builder()); final ResourceBundle myBundle = ResourceBundle.getBundle(getClass().getName()); assertNotNull("expect instance of builder with bundle", SimpleViolation.builder(myBundle)); }