* @since 4/15/14
*/
@Test
public class ONullBucketTest {
public void testEmptyBucket() {
ODirectMemoryPointer pointer = new ODirectMemoryPointer(1024);
OCachePointer cachePointer = new OCachePointer(pointer, new OLogSequenceNumber(0, 0));
OCacheEntry cacheEntry = new OCacheEntry(0, 0, cachePointer, false);
ONullBucket<String> bucket = new ONullBucket<String>(cacheEntry, ODurablePage.TrackMode.NONE, OStringSerializer.INSTANCE, true);
Assert.assertNull(bucket.getValue());