@Test
  public void dataPointMethodsMustBePublic() {
    PrintableResult result = testResult(DataPointMethodsMustBePublic.class);
    assertEquals(6, result.failureCount());

    assertThat(
        result,
        allOf(
            hasFailureContaining("DataPoint method three must be public"),
            hasFailureContaining("DataPoint method threes must be public"),
            hasFailureContaining("DataPoint method four must be public"),
            hasFailureContaining("DataPoint method fours must be public"),
            hasFailureContaining("DataPoint method five must be public"),
            hasFailureContaining("DataPoint method fives must be public")));
  }
  @Test
  public void dataPointFieldsMustBePublic() {
    PrintableResult result = testResult(DataPointFieldsMustBePublic.class);
    assertEquals(6, result.failureCount());

    assertThat(
        result,
        allOf(
            hasFailureContaining("DataPoint field THREE must be public"),
            hasFailureContaining("DataPoint field THREES must be public"),
            hasFailureContaining("DataPoint field FOUR must be public"),
            hasFailureContaining("DataPoint field FOURS must be public"),
            hasFailureContaining("DataPoint field FIVE must be public"),
            hasFailureContaining("DataPoint field FIVES must be public")));
  }