@Test
public void testDoneParsing() throws Exception {

  Attributes attrs = mock( Attributes.class );
  assertNull( handler.getProvider() );
  handler.getHandlerForChild( null, "path", attrs );
  handler.doneParsing();
  assertNotNull( handler.getProvider() );
  assertNotNull( handler.getObject() );
  handler.getHandlerForChild( null, "username", attrs );
  handler.doneParsing();
  assertNotNull( handler.getProvider() );
  assertNotNull( handler.getObject() );
  handler.getHandlerForChild( null, "password", attrs );
  handler.doneParsing();
  assertNotNull( handler.getProvider() );
  assertNotNull( handler.getObject() );
}