public function testNullCache() { $app = new App(["cache" => new \SugiPHP\Cache\Cache(new \SugiPHP\Cache\NullStore())]); $app->cache("one", 1); // no value is actually stored $this->assertNull($app->cache("one")); $app->cache("arr", ["foo" => "bar"]); // no value is actually stored $this->assertNull($app->cache("arr")); // no value $this->assertNull($app->cache("two")); }