package net.openhft.chronicle.map; import org.junit.Assert; import org.junit.Test; import java.io.IOException; /** * @author Rob Austin. */ public class TestBooleanValues { /** * see issue http://stackoverflow.com/questions/26219313/strange-npe-from-chronicle-map-toy-code */ @Test public void testTestBooleanValues() throws IOException, InterruptedException { ChronicleMap map = ChronicleMapBuilder.of(Integer.class, Boolean.class).create(); map.put(7, true); Assert.assertEquals(true, map.get(7)); } }