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