public function testGetInvalidated() { $expectation = [self::TYPE_KEY => $this->_getPreparedType()]; $this->_cache->expects($this->once())->method('load')->with(TypeList::INVALIDATED_TYPES)->will($this->returnValue(serialize($this->_typesArray))); $this->assertEquals($expectation, $this->_typeList->getInvalidated()); }