public void GetByID_OneItem_ReturnsCraftBlueprintCategory() { // Arrange CraftBlueprintCategory entity = new CraftBlueprintCategory { ID = 1 }; // Act MessageHub.Instance.Publish(new OnCacheObjectSet <CraftBlueprintCategory>(entity)); // Assert Assert.AreNotSame(entity, _cache.GetByID(1)); }