/** * @throws Exception */ public function testGetExcept() { $data = ['testItem1' => 'testValue1', 'testItem2' => 'testValue2', 'testItem3' => 'testValue3']; $expected = ['testItem1' => 'testValue1', 'testItem3' => 'testValue3']; $this->storage->setItems($data); $this->assertEquals($expected, $this->storage->getExcept(['testItem2'])); }