Code example for Properties

Methods: getProperty, size

0
 
        Properties p = expr.getCliOptions();
 
        assertNotNull( p );
 
        assertEquals( 1, p.size() );
 
        assertEquals( "Override the local repository location on a per-build basis.", p.getProperty( "-Dmaven.repo.local=/path/to/local/repo" ) );
 
    } 
 
}