@Test
public void testPutNullPath() {

  Path path = new Path("/path");
  DirListingMetadata meta = new DirListingMetadata(path, null, false);
  exception.expect(NullPointerException.class);
  exception.expectMessage(notNullValue(String.class));
  meta.put(new PathMetadata(new S3AFileStatus(true, null, TEST_OWNER)));
}