### Question:
OwnerAttributeProvider extends AttributeProvider { @NullableDecl @Override public Object get(File file, String attribute) { if (attribute.equals("owner")) { return file.getAttribute("owner", "owner"); } return null; }  @Override String name(); @Override ImmutableSet<String> fixedAttributes(); @Override ImmutableMap<String, ?> defaultValues(Map<String, ?> userProvidedDefaults); @NullableDecl @Override Object get(File file, String attribute); @Override void set(File file, String view, String attribute, Object value, boolean create); @Override Class<FileOwnerAttributeView> viewType(); @Override FileOwnerAttributeView view(
      FileLookup lookup, ImmutableMap<String, FileAttributeView> inheritedViews);  }### Answer:
@Test public void testInitialAttributes() { assertThat(provider.get(file, "owner")).isEqualTo(createUserPrincipal("user")); }