* {@link ch.entwine.weblounge.common.impl.request.CacheTagImpl#CacheTagImpl(java.lang.String, java.lang.Object)}
* .
*/
@Test
public void testCacheTagImplStringObject() {
Tag t = null;
// Test null value
t = new CacheTagImpl(tagName, null);
assertEquals("test", t.getName());
assertEquals(CacheTag.ANY, t.getValue());
// Test non-null value
t = new CacheTagImpl(tagName, tagValue);
assertEquals("test", t.getName());
assertEquals(tagValue, t.getValue());
try {
new CacheTagImpl(null, tagValue);
fail("Managed to initialize tag without name");
} catch (IllegalArgumentException e) {