void () { final FacetPointer<Facet> pointer = getManager().create(getId(MockFacetType.getInstance().getStringId(), "myFacet")); assertNull(pointer.getFacet()); assertEquals(myModule.getName(), pointer.getModuleName()); assertEquals("myFacet", pointer.getFacetName()); FacetType<?, ?> expected = MockFacetType.getInstance(); assertSame(expected, pointer.getFacetType()); final MockFacet mockFacet = addFacet("myFacet"); assertRefersTo(pointer, mockFacet); }