/** * Ensures that the storage of nulls is disallowed. * * @expectedException SharedMemoryException */ public function testNullDisallowed() { $mem = new SharedMemory(self::$_mutex, 2048); $mem->putVar('badVar', null); }