@Test
public void test_isTypeCompliant() throws Exception {

    tag = new TagW(KEYWORD_1, TagType.STRING);
    assertThat(tag.isTypeCompliant(null)).isTrue();
    assertThat(tag.isTypeCompliant(STRING_VALUE_1)).isTrue();
    assertThat(tag.isTypeCompliant(INTEGER_VALUE_1)).isFalse();
    assertThat(tag.isTypeCompliant(OBJECT_ARRAY)).isFalse();
    tag = new TagW(KEYWORD_1, TagType.STRING, VM_MIN_1, VM_MAX_1);
    assertThat(tag.isTypeCompliant(null)).isTrue();
    assertThat(tag.isTypeCompliant(STRING_VALUE_1)).isTrue();
    assertThat(tag.isTypeCompliant(INTEGER_VALUE_1)).isFalse();
    assertThat(tag.isTypeCompliant(OBJECT_ARRAY)).isFalse();
    assertThat(tag.isTypeCompliant(STRING_ARRAY)).isFalse();
    tag = new TagW(KEYWORD_1, TagType.STRING, VM_MIN_1, STRING_ARRAY.length);
    assertThat(tag.isTypeCompliant(null)).isTrue();
    assertThat(tag.isTypeCompliant(STRING_VALUE_1)).isTrue();
    assertThat(tag.isTypeCompliant(INTEGER_VALUE_1)).isFalse();
    assertThat(tag.isTypeCompliant(OBJECT_ARRAY)).isFalse();
    assertThat(tag.isTypeCompliant(STRING_ARRAY)).isTrue();
    tag = new TagW(KEYWORD_1, TagType.STRING, VM_MIN_1, Integer.MAX_VALUE);
    assertThat(tag.isTypeCompliant(null)).isTrue();
    assertThat(tag.isTypeCompliant(STRING_VALUE_1)).isTrue();
    assertThat(tag.isTypeCompliant(INTEGER_VALUE_1)).isFalse();
    assertThat(tag.isTypeCompliant(OBJECT_ARRAY)).isFalse();
    assertThat(tag.isTypeCompliant(STRING_ARRAY)).isTrue();
}