Code example for Date

0
        assertEquals("string", context.getString("d"));
    } 
 
    @Test 
    public void test_normal_object() { 
        Date now = new Date();
        Context context = new SimpleContext();
        context.set("a", "123");
        context.set("b", now);
        assertEquals(now, context.get("b"));
 
        context.clear();
        assertNull(context.get("b"));
    } 
}