@Test
public void testValidateParentTagTypeWithUnmatchedTagTypeCode()
{

    try
    {
        // Call the method under test
        tagDaoHelper.validateParentTagType(TAG_TYPE_CODE, TAG_TYPE_CODE_2);
        fail("Expected to throw an exception.");
    }
    catch (IllegalArgumentException illegalArgumentException)
    {
        // Confirm the exception message is correct
        assertThat("Exception message is not correct.", illegalArgumentException.getMessage(),
            is(equalTo("Tag type code in parent tag key must match the tag type code in the request.")));
    }
}