@Override
  public void create( AbstractMeta meta, TreeNode parent ) {
    Repository repository = Spoon.getInstance().getRepository();
    if( repository != null && repository.getUserInfo() != null && repository.getUserInfo().isAdmin() != null
      && Boolean.FALSE.equals( repository.getUserInfo().isAdmin() ) ) {
      return;
    }
    refresh( meta, createTreeNode( parent, getTitle(), getTreeImage() ), null );

  }
@Test
  public void create_TestNonAdmin(){
    doReturn( mockRepository ).when( mockSpoon ).getRepository();
    doReturn( mockUser ).when( mockRepository ).getUserInfo();
    doReturn( false ).when( mockUser ).isAdmin();
    connectionFolderProvider = new ConnectionFolderProvider( mockMetastoreLocator );
    TreeNode parentTreeNode = new TreeNode();
    assertFalse( parentTreeNode.hasChildren() );

    connectionFolderProvider.create( null, parentTreeNode );
    assertFalse( parentTreeNode.hasChildren() );
  }