### Question:
PartitionKey { @Override public boolean equals(Object other) { return this == other || (other != null && other instanceof PartitionKey && this.partitionValues.equals(((PartitionKey) other).partitionValues)); } PartitionKey(Partition partition);  PartitionKey(List<String> partitionValues); @Override boolean equals(Object other); @Override int hashCode();  }### Answer:
@Test public void testEqualsNull() { List<String> values = Lists.newArrayList("value1", "value2"); Partition partition = TestObjects.getTestPartition("ns", "table", values); PartitionKey partitionKey = new PartitionKey(partition); assertFalse(partitionKey.equals(null)); }