/**
   * Accuracy test for the method <code>getProjectMetadataKey(long projectMetadataKeyId)</code>.<br>
   * The result should be correct.
   *
   * @throws Exception to JUnit.
   */
  @Test
  public void test_getProjectMetadataKey_1() throws Exception {
    instance.createProjectMetadataKey(projectMetadataKey, userId);

    DirectProjectMetadataKey res = instance.getProjectMetadataKey(projectMetadataKey.getId());

    assertEquals("'getProjectMetadataKey' should be correct.", "name3", res.getName());
    assertEquals("'getProjectMetadataKey' should be correct.", "some text", res.getDescription());
    assertNull("'getProjectMetadataKey' should be correct.", res.getClientId());
    assertNull("'getProjectMetadataKey' should be correct.", res.getGrouping());
    assertTrue("'getProjectMetadataKey' should be correct.", res.isSingle());
  }
  /**
   * Accuracy test for the method <code>getProjectMetadataKey(long projectMetadataKeyId)</code>.<br>
   * The result should be correct.
   *
   * @throws Exception to JUnit.
   */
  @Test
  public void test_getProjectMetadataKey_2() throws Exception {
    DirectProjectMetadataKey res = instance.getProjectMetadataKey(Long.MAX_VALUE);

    assertNull("'getProjectMetadataKey' should be correct.", res);
  }