@Test public void zeroes() { final Body body = Bodies.zeroes(1); assertThat(body.getDataType(), is(DataType.ZEROES)); assertThat(body.getSize(), is(1L)); }
public static Body zeroes(final long size) { return create(DataType.ZEROES, size); }
Bodies { public static Body zeroes(final long size) { return create(DataType.ZEROES, size); } }
Bodies { public static Body zeroes(final long size) { return create(DataType.ZEROES, size); } private  Bodies(); }
Bodies { public static Body zeroes(final long size) { return create(DataType.ZEROES, size); } private  Bodies(); static Body none(); static Body random(final long size); static Body zeroes(final long size); static Body custom(final long size, String content); }
Bodies { public static Body zeroes(final long size) { return create(DataType.ZEROES, size); } private  Bodies(); static Body none(); static Body random(final long size); static Body zeroes(final long size); static Body custom(final long size, String content);  }