### Question:
IRODSTagGrouping extends UserAnnotatedCatalogItem implements Serializable { public String getSpaceDelimitedTagsForDomain() { return spaceDelimitedTagsForDomain; } IRODSTagGrouping(final MetadataDomain metadataDomain, final String domainUniqueName,
			final String spaceDelimitedTagsForDomain, final String userName); String getSpaceDelimitedTagsForDomain(); @Override String toString();  }### Answer:
@Test public void createInstanceTest() throws Exception { String expectedUser = "user"; String expectedDomainName = "/a/domain/name"; String expectedTags = "tag1 tag2 tag3:tag3sub tag4 himom"; MetadataDomain expectedMetadataDomain = MetadataDomain.DATA; IRODSTagGrouping irodsTagGrouping = new IRODSTagGrouping(expectedMetadataDomain, expectedDomainName, expectedTags, expectedUser); Assert.assertEquals(expectedUser, irodsTagGrouping.getUserName()); Assert.assertEquals(expectedDomainName, irodsTagGrouping.getDomainUniqueName()); Assert.assertEquals(expectedTags, irodsTagGrouping.getSpaceDelimitedTagsForDomain()); Assert.assertEquals(expectedMetadataDomain, irodsTagGrouping.getMetadataDomain()); }