public void getHashCodeReturnsDifferentCodeForDifferentInstances() { BlankNode instance = new BlankNode(); BlankNode other = new BlankNode(); Assert.IsFalse(instance.GetHashCode() == other.GetHashCode()); }
public void writeCallsWriterWriteBlankNodeWithSyntheticNodeLabel() { RdfWriterStore writer = new RdfWriterStore(); BlankNode instance = new BlankNode(); instance.Write(writer); Assert.IsTrue(writer.WasWriteBlankNodeCalledWith("spiral" + instance.GetHashCode())); }