@Test public void random() { final Body body = Bodies.random(1); assertThat(body.getDataType(), is(DataType.RANDOM)); assertThat(body.getSize(), is(1L)); }
public static Body random(final long size) { return create(DataType.RANDOM, size); }
Bodies { public static Body random(final long size) { return create(DataType.RANDOM, size); } }
Bodies { public static Body random(final long size) { return create(DataType.RANDOM, size); } private  Bodies(); }
Bodies { public static Body random(final long size) { return create(DataType.RANDOM, 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 random(final long size) { return create(DataType.RANDOM, 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);  }