    @Test
    public void shouldTestBitInByte()
    {

        final byte bits = (byte)0b1000_0000;
        final int bufferIndex = 8;
        final int bitIndex = 7;
        aBuff.putByte(bufferIndex, bits);

        for (int i = 0; i < 8; i++)
        {
            boolean result = Flyweight.bitSet(aBuff, bufferIndex, i);
            if (bitIndex == i)
            {
                assertTrue(result);
            }
            else
            {
                assertFalse("bit set i = " + i, result);
            }
        }
    }