public void SavePersonalizationBlob_User()
 {
     PersonalizationService target = new PersonalizationService();
     string path = PATH;
     string userName = USERNAME;
     byte[] dataBlob = GetBytes(USER_BLOB);
     target.SavePersonalizationBlob(path, userName, dataBlob);
 }
 public void SavePersonalizationBlob_Shared()
 {
     PersonalizationService target = new PersonalizationService();
     string path = PATH;
     string userName = null;
     byte[] dataBlob = GetBytes(SHARED_BLOB);
     target.SavePersonalizationBlob(path, userName, dataBlob);
 }
 public void GetUserPersonalizationBlob()
 {
     PersonalizationService target = new PersonalizationService();
     string path = PATH;
     string userName = USERNAME;
     string expected = USER_BLOB;
     byte[] actual = target.GetUserPersonalizationBlob(path, userName);
     Assert.AreEqual(expected, GetString(actual));
 }
 public void GetSharedPersonalizationBlob()
 {
     PersonalizationService target = new PersonalizationService();
     string path = PATH;
     string userName = null;
     string expected = SHARED_BLOB;
     byte[] actual = target.GetSharedPersonalizationBlob(path, userName);
     Assert.AreEqual(expected, GetString(actual));
 }