public static Builder builder() {
    return new Builder();
  }
@Test(expected = IllegalStateException.class)
  public void shouldFailIfNullComponents() {
    Batch.builder()
      .setEnvironment(new EnvironmentInformation("Gradle", "1.0"))
      .setComponents(null)
      .build();
  }