@Test
public void testGetHandlerForChild() throws Exception {

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