@@ -0,0 +1,752 @@
+package com.wizzardo.epoll.readable;%0A%0Aimport com.wizzardo.epoll.ByteBufferWrapper;%0Aimport org.junit.Test;%0A%0Aimport java.nio.ByteBuffer;%0A%0Aimport static org.junit.Assert.*;%0A%0A/**%0A * Created by wizzardo on 24.04.16.%0A */%0Apublic class ReadableByteBufferTest %7B%0A%0A    @Test%0A    public void test_1() %7B%0A        ByteBuffer buffer = ByteBuffer.allocateDirect(256);%0A        ReadableByteBuffer readable = new ReadableByteBuffer(buffer);%0A%0A        assertSame(buffer, readable.getByteBuffer(null).buffer());%0A    %7D%0A%0A    @Test%0A    public void test_2() %7B%0A        ByteBuffer buffer = ByteBuffer.allocateDirect(256);%0A        ReadableByteBuffer readable = new ReadableByteBuffer(buffer);%0A        assertEquals(256, readable.read(readable.getByteBuffer(null).buffer()));%0A    %7D%0A%0A%7D

add test