Code example for Provider

Methods: getName

        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() { 
Connect your IDE to all the code out there  Get Codota for Java