/** * Tests if cache will be flushed after use of NumArray::mult */ public function testMultCache() { $numArray = new NumArray(5); $numArray->setCache('key', 6); $numArray->mult(4); $this->assertFalse($numArray->inCache('key')); }