@@ -0,0 +1,569 @@
+package org.apache.zeppelin.notebook;%0A%0Aimport org.apache.zeppelin.conf.ZeppelinConfiguration;%0Aimport org.junit.Test;%0A%0Aimport java.util.HashSet;%0Aimport java.util.Set;%0A%0Apublic class NotebookAuthorizationTest %7B%0A%0A    NotebookAuthorization noteAuth = new NotebookAuthorization(ZeppelinConfiguration.create());%0A%0A    @Test%0A    public void testSaveToFile() %7B%0A        Set%3CString%3E entities = new HashSet%3CString%3E();%0A        entities.add(%22user1%22);%0A        entities.add(%22user2%22);%0A        noteAuth.setOwners(%22r%22, entities);%0A        noteAuth.setOwners(%222A94M5J1Z%22, entities);%0A    %7D%0A%7D%0A

add unit test to NotebookAuthorization