Code example for Provider

Methods: getName

0
        assertEquals(123.456, p.getVersion(), 0L);
        assertEquals("Provider info", p.getInfo());
    } 
 
    public final void testGetName() { 
        assertEquals("MyProvider", p.getName());
    } 
 
    public final void testGetVersion() { 
        assertEquals(1.0, p.getVersion(), 0L);
    } 
 
    public final void testGetInfo() { 
        assertEquals("Provider for testing", p.getInfo());
    } 
 
    /* 
     * Class under test for void putAll(Map) 
     */ 
    public final void testPutAllMap() { 
        HashMap hm = new HashMap();