@Test
 public void testFromStringConstruction() {
   DefaultPasswordProvider pp = DefaultPasswordProvider.fromString(pwd);
   Assert.assertEquals(pwd, pp.getPassword());
 }
 @Test
 public void testExplicitConstruction() {
   DefaultPasswordProvider pp = new DefaultPasswordProvider(pwd);
   Assert.assertEquals(pwd, pp.getPassword());
 }