public void testStopStart() throws Exception
{
TimedCachePolicy tcp = new TimedCachePolicy(5, true, 1);
tcp.create();
tcp.start();
tcp.stop();
tcp.start();
tcp.insert("key", "value");
tcp.setResolution(2);
Object value = tcp.get("key");
assertTrue("key has a value", value != null);