@Test
  public void testSet() {
    assertSetAndGetSucceeds("owner", createUserPrincipal("user"));
    assertSetFailsOnCreate("owner", createUserPrincipal("user"));

    // invalid type
    assertSetFails("owner", "root");
  }
Tests for {@link OwnerAttributeProvider}.

@author Colin Decker
jimfs/src/test/java/com/google/common/jimfs/OwnerAttributeProviderTest.java