diff --git a/core/common/src/test/java/alluxio/PropertyKeyTest.java b/core/common/src/test/java/alluxio/PropertyKeyTest.java
index <HASH>..<HASH> 100644
--- a/core/common/src/test/java/alluxio/PropertyKeyTest.java
+++ b/core/common/src/test/java/alluxio/PropertyKeyTest.java
@@ -16,6 +16,9 @@ import alluxio.exception.ExceptionMessage;
 import org.junit.Assert;
 import org.junit.Test;
 
+import java.io.ByteArrayOutputStream;
+import java.io.PrintStream;
+
 /**
  * Tests enum type {@link PropertyKey}.
  */
@@ -180,4 +183,18 @@ public final class PropertyKeyTest {
       }
     }
   }
+
+  @Test
+  public void isDeprecated() throws Exception {
+    Assert.assertFalse(PropertyKey.isDeprecated("VERSION"));
+    Assert.assertTrue(PropertyKey.isDeprecated("MASTER_ADDRESS"));
+  }
+
+  @Test
+  public void isDeprecatedExceptionThrown() throws Exception {
+    ByteArrayOutputStream outContent = new ByteArrayOutputStream();
+    System.setErr(new PrintStream(outContent));
+    Assert.assertFalse(PropertyKey.isDeprecated("foo"));
+    Assert.assertEquals("No Such Field Exception: foo\n", outContent.toString());
+  }
 }
[ALLUXIO-<I>] Added tests for isDeprecated method.