public class PreludeFrameTest {
@Test
public void content() {
final PreludeFrame preludeFrame = new PreludeFrame();
assertThat(preludeFrame.content().capacity(), is(PreludeFrame.CONTENT_SIZE));
assertThat(getContent(preludeFrame), equalTo(expectedContent(PreludeFrame.CONTENT_SIZE)));
}
private static byte[] getContent(final PreludeFrame preludeFrame) {
final byte[] actualContent = new byte[PreludeFrame.CONTENT_SIZE];