- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {Dictionary d =
new Hashtable()
Bundle bundle;bundle.getHeaders()
new Properties()
- Smart code suggestions by Codota
}
@Test(expected = IllegalArgumentException.class) public void hasAncestorOfTypeWhereAncestorTagIsNotATagType() throws Exception { assertFalse(TagUtils.hasAncestorOfType(new TagSupport(), String.class)); }
@Test(expected = IllegalArgumentException.class) public void hasAncestorOfTypeWithNullAncestorTagClassArgument() throws Exception { assertFalse(TagUtils.hasAncestorOfType(new TagSupport(), null)); }